Diff to HTML by rtfpessoa

Files changed (87) hide show
  1. events/Catholic.txt +4 -1
  2. events/ChineseFactions.txt +2 -2
  3. events/Dynastic.txt +17 -0
  4. events/EmperorMissionEvents.txt +6 -4
  5. events/Espionage.txt +126 -125
  6. events/EstatePrivilegesAndAgendasEvents.txt +555 -12
  7. events/Extended_Regencies.txt +1 -1
  8. events/FlavorARM.txt +147 -0
  9. events/FlavorFRA.txt +14 -45
  10. events/FlavorGEO.txt +324 -0
  11. events/FlavorPER.txt +3320 -30
  12. events/FlavorRUS.txt +8 -2
  13. events/FlavorSPA.txt +9 -6
  14. events/FlavorTUR.txt +128 -30
  15. events/GenericOnActionEvents.txt +8 -0
  16. events/Industrialization.txt +2 -0
  17. events/InvestmentEvents.txt +1 -0
  18. events/MamlukEvents.txt +414 -112
  19. events/Memes.txt +1 -8
  20. events/MuslimSchoolEvents.txt +17 -10
  21. events/Norse.txt +1 -0
  22. events/PassiveEffectsEvents.txt +28 -27
  23. events/PersianInfluence.txt +737 -0
  24. events/PersonalityEvents.txt +12 -5
  25. events/PirateEvents.txt +2 -2
  26. events/PriceChanges.txt +2 -2
  27. events/PropagateReligionEvents.txt +10 -2
  28. events/PurelyNasty.txt +4 -0
  29. events/Purple_Phoenix_events.txt +17 -10
  30. events/RandomEvents.txt +1 -1
  31. events/RepublicFactions.txt +1 -1
  32. events/Special_Regencies.txt +2 -2
  33. events/TradePolicyEvents.txt +22 -21
  34. events/TribalSuccession.txt +1 -1
  35. events/coup_in_palace.txt +4 -1
  36. events/disaster_CastilianCivilWar.txt +4 -0
  37. events/disaster_CivilWar.txt +10 -5
  38. events/disaster_DAN_CountsFeud.txt +8 -2
  39. events/disaster_ENG_WarOfTheRoses.txt +1 -0
  40. events/disaster_GeorgianCrisis.txt +331 -0
  41. events/disaster_InternalConflicts.txt +3 -2
  42. events/disaster_Liberalism.txt +3 -0
  43. events/disaster_PeasantsWar.txt +3 -0
  44. events/disaster_ReligiousTurmoil.txt +1 -0
  45. events/disaster_Revolution.txt +13 -0
  46. events/disaster_SWE_TheDackeFeud.txt +1 -0
  47. events/disaster_TUR_JanissaryDecadence.txt +1 -0
  48. events/disaster_ambrosian_republic.txt +1 -0
  49. events/disaster_court_and_country.txt +4 -0
  50. events/disaster_dutch_revolt.txt +1 -0
  51. events/disaster_emperor_of_china_in_name.txt +4 -0
  52. events/disaster_empire_of_china_nomadic_border.txt +4 -0
  53. events/disaster_eng_civil_war.txt +1 -0
  54. events/disaster_estates.txt +131 -8
  55. events/disaster_french_revolution.txt +12 -0
  56. events/disaster_french_wars_of_religion.txt +1 -0
  57. events/disaster_granada_civil_war.txt +3 -0
  58. events/disaster_ming_crisis.txt +1 -0
  59. events/disaster_ottoman_power_struggle.txt +18 -13
  60. events/disaster_siamese_revolution.txt +1 -0
  61. events/disaster_time_of_troubles.txt +1 -0
  62. events/estate_janissaries.txt +1 -1
  63. events/flavorAJU.txt +2 -0
  64. events/flavorARB.txt +579 -0
  65. events/flavorBYZ.txt +3662 -4
  66. events/flavorDAN.txt +17 -16
  67. events/flavorETH.txt +2 -3
  68. events/flavorFIN.txt +3 -3
  69. events/flavorJAJ.txt +2 -1
  70. events/flavorJAP.txt +5 -4
  71. events/flavorKHM.txt +1 -0
  72. events/flavorLIV.txt +6 -6
  73. events/flavorMAJ.txt +1 -0
  74. events/flavorMAL.txt +2 -1
  75. events/flavorMAM.txt +862 -7
  76. events/flavorMLC.txt +3 -0
  77. events/flavorMNG.txt +4 -2
  78. events/flavorMSI.txt +1 -1
  79. events/flavorPOL.txt +6 -2
  80. events/flavorRIG.txt +4 -4
  81. events/flavorTEU.txt +3 -0
  82. events/flavorTUS.txt +4 -0
  83. events/flavorTurkoman.txt +559 -0
  84. events/flavorYEM.txt +221 -0
  85. events/flavorZAN.txt +1 -1
  86. events/ideagroups.txt +2 -2
  87. events/institutions.txt +1 -1
events/Catholic.txt CHANGED
@@ -44,7 +44,10 @@ country_event = {
44
44
  name = catholic_flavor.3.a
45
45
  add_prestige = 25
46
46
  add_legitimacy = 25
47
- PAP = { set_papacy_active = no }
47
+ set_religion_papacy_active = {
48
+ religion = catholic
49
+ active = no
50
+ }
48
51
  }
49
52
  }
50
53
 
events/ChineseFactions.txt CHANGED
@@ -624,7 +624,7 @@ country_event = {
624
624
  }
625
625
 
626
626
  option = {
627
- name = "china_events.12.b" #Northern Literati just dont compare to southerners...
627
+ name = "china_events.12.b" #Northern Literati just dont compare to southerners...
628
628
  reduce_mandate_effect = yes
629
629
  add_meritocracy_large_effect = yes
630
630
  reduce_bureaucrats_effect = yes
@@ -2511,7 +2511,7 @@ country_event = {
2511
2511
  option = {
2512
2512
  name = "EVTOPTB11242"
2513
2513
  change_ruler_stat = {
2514
- stat = adm
2514
+ type = adm
2515
2515
  amount = 1
2516
2516
  }
2517
2517
  change_government_reform_progress = 25
events/Dynastic.txt CHANGED
@@ -388,6 +388,7 @@ country_event = {
388
388
  is_lesser_in_union = no
389
389
  NOT = { has_reform = elective_monarchy }
390
390
  NOT = { has_reform = polish_elective_monarchy }
391
+ NOT = { has_country_flag = healthy_heir_diet }
391
392
  }
392
393
 
393
394
  mean_time_to_happen = {
@@ -535,9 +536,25 @@ country_event = {
535
536
  is_lesser_in_union = no
536
537
  NOT = { has_reform = elective_monarchy }
537
538
  NOT = { has_reform = polish_elective_monarchy }
539
+ NOT = { has_country_flag = no_more_hunting_for_heir }
538
540
  }
539
541
  mean_time_to_happen = {
540
542
  months = 2700
543
+ modifier = {
544
+ factor = 10
545
+ has_country_flag = selective_hunting_accident
546
+ heir_mil = 6
547
+ }
548
+ modifier = {
549
+ factor = 10
550
+ has_country_flag = selective_hunting_accident
551
+ heir_mil = 5
552
+ }
553
+ modifier = {
554
+ factor = 10
555
+ has_country_flag = selective_hunting_accident
556
+ heir_mil = 4
557
+ }
541
558
  }
542
559
  option = {
543
560
  name = "EVTOPTA9459"
events/EmperorMissionEvents.txt CHANGED
@@ -229,9 +229,11 @@ country_event = {
229
229
  desc = {
230
230
  trigger = {
231
231
  NOT = {
232
- has_adm_advisor = yes
233
- has_dip_advisor = yes
234
- has_mil_advisor = yes
232
+ AND = {
233
+ has_adm_advisor = yes
234
+ has_dip_advisor = yes
235
+ has_mil_advisor = yes
236
+ }
235
237
  }
236
238
  }
237
239
  desc = emp_mission_events.7.d2
@@ -433,7 +435,7 @@ country_event = {
433
435
  }
434
436
  }
435
437
 
436
- # The Duke of Alençon by Daniel Tolman
438
+ # The Duke of Alen�on by Daniel Tolman
437
439
 
438
440
  country_event = {
439
441
  id = emp_mission_events.10
events/Espionage.txt CHANGED
@@ -7,6 +7,7 @@
7
7
  namespace = espionage_events
8
8
 
9
9
  # Half the Loyalty, Double the Agent
10
+ # Commented out because of the performance hit this event deals
10
11
  #country_event = {
11
12
  # id = espionage_events.1
12
13
  # title = "espionage_events.1.t"
@@ -91,133 +92,133 @@ namespace = espionage_events
91
92
  #}
92
93
 
93
94
  # Second Chance for a Traitor
94
- country_event = {
95
- id = espionage_events.2
96
- title = "espionage_events.2.t"
97
- desc = "espionage_events.2.d"
98
- picture = DIPLOMAT_INTERROGATION_eventPicture
99
- goto = espionage_event_country_2_capital
100
-
101
- is_triggered_only = yes
102
-
103
- # Try to turn the spy back
104
- option = {
105
- name = "espionage_events.2.a"
106
- random_list = {
107
- 50 = {
108
- add_spy_network_in = {
109
- who = FROM
110
- value = 25
111
- }
112
- FROM = { set_country_flag = re_doubled_agent }
113
- }
114
- 50 = {
115
- add_spy_network_from = {
116
- who = FROM
117
- value = 15
118
- }
119
- }
120
- }
121
- FROM = {
122
- country_event = {
123
- id = espionage_events.3 # Suspect the double agent's loyalty
124
- days = 30
125
- }
126
- }
127
- }
128
-
129
- # Execute the spy
130
- option = {
131
- name = "espionage_events.2.b"
132
- add_spy_network_from = {
133
- who = FROM
134
- value = -20
135
- }
136
- }
137
- }
95
+ #country_event = {
96
+ # id = espionage_events.2
97
+ # title = "espionage_events.2.t"
98
+ # desc = "espionage_events.2.d"
99
+ # picture = DIPLOMAT_INTERROGATION_eventPicture
100
+ # goto = espionage_event_country_2_capital
101
+ #
102
+ # is_triggered_only = yes
103
+ #
104
+ # # Try to turn the spy back
105
+ # option = {
106
+ # name = "espionage_events.2.a"
107
+ # random_list = {
108
+ # 50 = {
109
+ # add_spy_network_in = {
110
+ # who = FROM
111
+ # value = 25
112
+ # }
113
+ # FROM = { set_country_flag = re_doubled_agent }
114
+ # }
115
+ # 50 = {
116
+ # add_spy_network_from = {
117
+ # who = FROM
118
+ # value = 15
119
+ # }
120
+ # }
121
+ # }
122
+ # FROM = {
123
+ # country_event = {
124
+ # id = espionage_events.3 # Suspect the double agent's loyalty
125
+ # days = 30
126
+ # }
127
+ # }
128
+ # }
129
+ #
130
+ # # Execute the spy
131
+ # option = {
132
+ # name = "espionage_events.2.b"
133
+ # add_spy_network_from = {
134
+ # who = FROM
135
+ # value = -20
136
+ # }
137
+ # }
138
+ #}
138
139
 
139
140
  # Twice the Traitor
140
- country_event = {
141
- id = espionage_events.3
142
- title = "espionage_events.3.t"
143
- desc = "espionage_events.3.d"
144
- picture = DIPLOMAT_INTERROGATION_eventPicture
145
- goto = espionage_event_country_capital
146
-
147
- is_triggered_only = yes
148
-
149
- # Kill the agent
150
- option = {
151
- name = "espionage_events.3.a"
152
- custom_tooltip = espionage_events.3.tt_1
153
- tooltip = {
154
- add_spy_network_from = {
155
- who = FROM
156
- value = -25
157
- }
158
- }
159
- custom_tooltip = espionage_events.3.tt_2
160
- tooltip = {
161
- add_spy_network_in = {
162
- who = FROM
163
- value = -25
164
- }
165
- }
166
- hidden_effect = {
167
- if = {
168
- limit = { has_country_flag = re_doubled_agent }
169
- add_spy_network_from = {
170
- who = FROM
171
- value = -25
172
- }
173
- }
174
- if = {
175
- limit = { NOT = { has_country_flag = re_doubled_agent } }
176
- add_spy_network_in = {
177
- who = FROM
178
- value = -25
179
- }
180
- }
181
- clr_country_flag = re_doubled_agent
182
- }
183
- }
184
-
185
- # Continue operations
186
- option = {
187
- name = "espionage_events.3.b"
188
- custom_tooltip = espionage_events.3.tt_1
189
- tooltip = {
190
- add_spy_network_from = {
191
- who = FROM
192
- value = 15
193
- }
194
- }
195
- custom_tooltip = espionage_events.3.tt_2
196
- tooltip = {
197
- add_spy_network_in = {
198
- who = FROM
199
- value = 15
200
- }
201
- }
202
- hidden_effect = {
203
- if = {
204
- limit = { has_country_flag = re_doubled_agent }
205
- add_spy_network_from = {
206
- who = FROM
207
- value = 15
208
- }
209
- }
210
- if = {
211
- limit = { NOT = { has_country_flag = re_doubled_agent } }
212
- add_spy_network_in = {
213
- who = FROM
214
- value = 15
215
- }
216
- }
217
- clr_country_flag = re_doubled_agent
218
- }
219
- }
220
- }
141
+ #country_event = {
142
+ # id = espionage_events.3
143
+ # title = "espionage_events.3.t"
144
+ # desc = "espionage_events.3.d"
145
+ # picture = DIPLOMAT_INTERROGATION_eventPicture
146
+ # goto = espionage_event_country_capital
147
+ #
148
+ # is_triggered_only = yes
149
+ #
150
+ # # Kill the agent
151
+ # option = {
152
+ # name = "espionage_events.3.a"
153
+ # custom_tooltip = espionage_events.3.tt_1
154
+ # tooltip = {
155
+ # add_spy_network_from = {
156
+ # who = FROM
157
+ # value = -25
158
+ # }
159
+ # }
160
+ # custom_tooltip = espionage_events.3.tt_2
161
+ # tooltip = {
162
+ # add_spy_network_in = {
163
+ # who = FROM
164
+ # value = -25
165
+ # }
166
+ # }
167
+ # hidden_effect = {
168
+ # if = {
169
+ # limit = { has_country_flag = re_doubled_agent }
170
+ # add_spy_network_from = {
171
+ # who = FROM
172
+ # value = -25
173
+ # }
174
+ # }
175
+ # if = {
176
+ # limit = { NOT = { has_country_flag = re_doubled_agent } }
177
+ # add_spy_network_in = {
178
+ # who = FROM
179
+ # value = -25
180
+ # }
181
+ # }
182
+ # clr_country_flag = re_doubled_agent
183
+ # }
184
+ # }
185
+ #
186
+ # # Continue operations
187
+ # option = {
188
+ # name = "espionage_events.3.b"
189
+ # custom_tooltip = espionage_events.3.tt_1
190
+ # tooltip = {
191
+ # add_spy_network_from = {
192
+ # who = FROM
193
+ # value = 15
194
+ # }
195
+ # }
196
+ # custom_tooltip = espionage_events.3.tt_2
197
+ # tooltip = {
198
+ # add_spy_network_in = {
199
+ # who = FROM
200
+ # value = 15
201
+ # }
202
+ # }
203
+ # hidden_effect = {
204
+ # if = {
205
+ # limit = { has_country_flag = re_doubled_agent }
206
+ # add_spy_network_from = {
207
+ # who = FROM
208
+ # value = 15
209
+ # }
210
+ # }
211
+ # if = {
212
+ # limit = { NOT = { has_country_flag = re_doubled_agent } }
213
+ # add_spy_network_in = {
214
+ # who = FROM
215
+ # value = 15
216
+ # }
217
+ # }
218
+ # clr_country_flag = re_doubled_agent
219
+ # }
220
+ # }
221
+ #}
221
222
 
222
223
  # Seal of Confession
223
224
  country_event = {
events/EstatePrivilegesAndAgendasEvents.txt CHANGED
@@ -239,6 +239,8 @@ country_event = {
239
239
  clr_country_flag = estate_rajput_present_agenda
240
240
  clr_country_flag = estate_janissaries_present_agenda
241
241
  clr_country_flag = estate_eunuchs_present_agenda
242
+ clr_country_flag = estate_qizilbash_present_agenda
243
+ clr_country_flag = estate_ghulams_present_agenda
242
244
  clear_estate_agenda_cache = ROOT
243
245
  }
244
246
 
@@ -852,6 +854,100 @@ country_event = {
852
854
  }
853
855
  }
854
856
  }
857
+
858
+ option = {
859
+ name = estate_privileges_and_agendas_events.3.n
860
+ trigger = { has_country_flag = estate_qizilbash_present_agenda }
861
+ start_estate_agenda = estate_qizilbash
862
+ goto = estate_qizilbash
863
+ ai_chance = {
864
+ factor = 1
865
+ modifier = {
866
+ factor = 1.5
867
+ NOT = {
868
+ estate_loyalty = {
869
+ loyalty = 30
870
+ estate = estate_qizilbash
871
+ }
872
+ }
873
+ }
874
+ modifier = {
875
+ factor = 2
876
+ NOT = {
877
+ estate_loyalty = {
878
+ loyalty = 20
879
+ estate = estate_qizilbash
880
+ }
881
+ }
882
+ }
883
+ modifier = {
884
+ factor = 1.5
885
+ estate_influence = {
886
+ influence = 70
887
+ estate = estate_qizilbash
888
+ }
889
+ }
890
+ modifier = {
891
+ factor = 2
892
+ is_absolutism_active = yes
893
+ num_of_estate_privileges = {
894
+ estate = estate_qizilbash
895
+ value = 1
896
+ }
897
+ estate_loyalty = {
898
+ estate = estate_qizilbash
899
+ higher_than_influence = no
900
+ }
901
+ }
902
+ }
903
+ }
904
+
905
+ option = {
906
+ name = estate_privileges_and_agendas_events.3.o
907
+ trigger = { has_country_flag = estate_ghulams_present_agenda }
908
+ start_estate_agenda = estate_ghulams
909
+ goto = estate_ghulams
910
+ ai_chance = {
911
+ factor = 1
912
+ modifier = {
913
+ factor = 1.5
914
+ NOT = {
915
+ estate_loyalty = {
916
+ loyalty = 30
917
+ estate = estate_ghulams
918
+ }
919
+ }
920
+ }
921
+ modifier = {
922
+ factor = 2
923
+ NOT = {
924
+ estate_loyalty = {
925
+ loyalty = 20
926
+ estate = estate_ghulams
927
+ }
928
+ }
929
+ }
930
+ modifier = {
931
+ factor = 1.5
932
+ estate_influence = {
933
+ influence = 70
934
+ estate = estate_ghulams
935
+ }
936
+ }
937
+ modifier = {
938
+ factor = 2
939
+ is_absolutism_active = yes
940
+ num_of_estate_privileges = {
941
+ estate = estate_ghulams
942
+ value = 1
943
+ }
944
+ estate_loyalty = {
945
+ estate = estate_ghulams
946
+ higher_than_influence = no
947
+ }
948
+ }
949
+ }
950
+ }
855
951
  }
856
952
 
857
953
  country_event = {
@@ -877,9 +973,7 @@ country_event = {
877
973
  }
878
974
 
879
975
  option = {
880
- ai_chance = {
881
- factor = 1
882
- }
976
+ ai_chance = { factor = 1 }
883
977
  }
884
978
  }
885
979
 
@@ -912,9 +1006,7 @@ country_event = {
912
1006
  }
913
1007
 
914
1008
  option = {
915
- ai_chance = {
916
- factor = 1
917
- }
1009
+ ai_chance = { factor = 1 }
918
1010
  }
919
1011
  }
920
1012
 
@@ -937,9 +1029,7 @@ country_event = {
937
1029
  short = yes
938
1030
  }
939
1031
 
940
- ai_chance = {
941
- factor = 1
942
- }
1032
+ ai_chance = { factor = 1 }
943
1033
  }
944
1034
 
945
1035
  #Grant church land
@@ -1136,6 +1226,36 @@ country_event = {
1136
1226
  factor = 0
1137
1227
  }
1138
1228
  }
1229
+
1230
+ #Grant qizilbash land
1231
+ option = {
1232
+ name = estate_privileges_and_agendas_events.6.o
1233
+ trigger = { has_estate = estate_qizilbash }
1234
+ give_estate_land_share_gigantic = { estate = estate_qizilbash }
1235
+ add_estate_loyalty = {
1236
+ estate = estate_qizilbash
1237
+ loyalty = 10
1238
+ short = yes
1239
+ }
1240
+ ai_chance = {
1241
+ factor = 0
1242
+ }
1243
+ }
1244
+
1245
+ #Grant ghulams land
1246
+ option = {
1247
+ name = estate_privileges_and_agendas_events.6.p
1248
+ trigger = { has_estate = estate_ghulams }
1249
+ give_estate_land_share_gigantic = { estate = estate_ghulams }
1250
+ add_estate_loyalty = {
1251
+ estate = estate_ghulams
1252
+ loyalty = 10
1253
+ short = yes
1254
+ }
1255
+ ai_chance = {
1256
+ factor = 0
1257
+ }
1258
+ }
1139
1259
  }
1140
1260
 
1141
1261
  #Seize crownland
@@ -1205,9 +1325,7 @@ country_event = {
1205
1325
  }
1206
1326
  spawn_rebels_seize_land_switch = yes
1207
1327
  }
1208
- ai_chance = {
1209
- factor = 1
1210
- }
1328
+ ai_chance = { factor = 1 }
1211
1329
  }
1212
1330
 
1213
1331
  #Seize from church
@@ -1216,6 +1334,10 @@ country_event = {
1216
1334
  trigger = {
1217
1335
  has_estate = estate_church
1218
1336
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_church } }
1337
+ estate_territory = {
1338
+ estate = estate_church
1339
+ territory = 5
1340
+ }
1219
1341
  }
1220
1342
  seize_land_estate_effect = { estate = estate_church }
1221
1343
  ai_chance = {
@@ -1229,6 +1351,10 @@ country_event = {
1229
1351
  trigger = {
1230
1352
  has_estate = estate_burghers
1231
1353
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_burghers } }
1354
+ estate_territory = {
1355
+ estate = estate_burghers
1356
+ territory = 5
1357
+ }
1232
1358
  }
1233
1359
  seize_land_estate_effect = { estate = estate_burghers }
1234
1360
  ai_chance = {
@@ -1242,6 +1368,10 @@ country_event = {
1242
1368
  trigger = {
1243
1369
  has_estate = estate_nobles
1244
1370
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_nobles } }
1371
+ estate_territory = {
1372
+ estate = estate_nobles
1373
+ territory = 5
1374
+ }
1245
1375
  }
1246
1376
  seize_land_estate_effect = { estate = estate_nobles }
1247
1377
  ai_chance = {
@@ -1255,6 +1385,10 @@ country_event = {
1255
1385
  trigger = {
1256
1386
  has_estate = estate_dhimmi
1257
1387
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_dhimmi } }
1388
+ estate_territory = {
1389
+ estate = estate_dhimmi
1390
+ territory = 5
1391
+ }
1258
1392
  }
1259
1393
  seize_land_estate_effect = { estate = estate_dhimmi }
1260
1394
  ai_chance = {
@@ -1268,6 +1402,10 @@ country_event = {
1268
1402
  trigger = {
1269
1403
  has_estate = estate_cossacks
1270
1404
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_cossacks } }
1405
+ estate_territory = {
1406
+ estate = estate_cossacks
1407
+ territory = 5
1408
+ }
1271
1409
  }
1272
1410
  seize_land_estate_effect = { estate = estate_cossacks }
1273
1411
  ai_chance = {
@@ -1281,6 +1419,10 @@ country_event = {
1281
1419
  trigger = {
1282
1420
  has_estate = estate_nomadic_tribes
1283
1421
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_nomadic_tribes } }
1422
+ estate_territory = {
1423
+ estate = estate_nomadic_tribes
1424
+ territory = 5
1425
+ }
1284
1426
  }
1285
1427
  seize_land_estate_effect = { estate = estate_nomadic_tribes }
1286
1428
  ai_chance = {
@@ -1294,6 +1436,10 @@ country_event = {
1294
1436
  trigger = {
1295
1437
  has_estate = estate_brahmins
1296
1438
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_brahmins } }
1439
+ estate_territory = {
1440
+ estate = estate_brahmins
1441
+ territory = 5
1442
+ }
1297
1443
  }
1298
1444
  seize_land_estate_effect = { estate = estate_brahmins }
1299
1445
  ai_chance = {
@@ -1307,6 +1453,10 @@ country_event = {
1307
1453
  trigger = {
1308
1454
  has_estate = estate_rajput
1309
1455
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_rajput } }
1456
+ estate_territory = {
1457
+ estate = estate_rajput
1458
+ territory = 5
1459
+ }
1310
1460
  }
1311
1461
  seize_land_estate_effect = { estate = estate_rajput }
1312
1462
  ai_chance = {
@@ -1320,6 +1470,10 @@ country_event = {
1320
1470
  trigger = {
1321
1471
  has_estate = estate_maratha
1322
1472
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_maratha } }
1473
+ estate_territory = {
1474
+ estate = estate_maratha
1475
+ territory = 5
1476
+ }
1323
1477
  }
1324
1478
  seize_land_estate_effect = { estate = estate_maratha }
1325
1479
  ai_chance = {
@@ -1333,6 +1487,10 @@ country_event = {
1333
1487
  trigger = {
1334
1488
  has_estate = estate_vaisyas
1335
1489
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_vaisyas } }
1490
+ estate_territory = {
1491
+ estate = estate_vaisyas
1492
+ territory = 5
1493
+ }
1336
1494
  }
1337
1495
  seize_land_estate_effect = { estate = estate_vaisyas }
1338
1496
  ai_chance = {
@@ -1346,6 +1504,10 @@ country_event = {
1346
1504
  trigger = {
1347
1505
  has_estate = estate_jains
1348
1506
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_jains } }
1507
+ estate_territory = {
1508
+ estate = estate_jains
1509
+ territory = 5
1510
+ }
1349
1511
  }
1350
1512
  seize_land_estate_effect = { estate = estate_jains }
1351
1513
  ai_chance = {
@@ -1359,6 +1521,10 @@ country_event = {
1359
1521
  trigger = {
1360
1522
  has_estate = estate_janissaries
1361
1523
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_janissaries } }
1524
+ estate_territory = {
1525
+ estate = estate_janissaries
1526
+ territory = 5
1527
+ }
1362
1528
  }
1363
1529
  seize_land_estate_effect = { estate = estate_janissaries }
1364
1530
  ai_chance = {
@@ -1372,10 +1538,387 @@ country_event = {
1372
1538
  trigger = {
1373
1539
  has_estate = estate_eunuchs
1374
1540
  NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_eunuchs } }
1541
+ estate_territory = {
1542
+ estate = estate_eunuchs
1543
+ territory = 5
1544
+ }
1375
1545
  }
1376
1546
  seize_land_estate_effect = { estate = estate_eunuchs }
1377
1547
  ai_chance = {
1378
1548
  factor = 0
1379
1549
  }
1380
1550
  }
1551
+
1552
+ #Seize from qizilbash
1553
+ option = {
1554
+ name = estate_privileges_and_agendas_events.7.o
1555
+ trigger = {
1556
+ has_estate = estate_qizilbash
1557
+ NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_qizilbash } }
1558
+ estate_territory = {
1559
+ estate = estate_qizilbash
1560
+ territory = 5
1561
+ }
1562
+ }
1563
+ seize_land_estate_effect = { estate = estate_qizilbash }
1564
+ ai_chance = {
1565
+ factor = 0
1566
+ }
1567
+ }
1568
+
1569
+ #Seize from ghulams
1570
+ option = {
1571
+ name = estate_privileges_and_agendas_events.7.p
1572
+ trigger = {
1573
+ has_estate = estate_ghulams
1574
+ NOT = { estate_has_exempt_from_seize_land_privilege = { estate = estate_ghulams } }
1575
+ estate_territory = {
1576
+ estate = estate_ghulams
1577
+ territory = 5
1578
+ }
1579
+ }
1580
+ seize_land_estate_effect = { estate = estate_ghulams }
1581
+ ai_chance = {
1582
+ factor = 0
1583
+ }
1584
+ }
1585
+ }
1586
+
1587
+ #Select Grand Vizier from Estate
1588
+ country_event = {
1589
+ id = estate_privileges_and_agendas_events.8
1590
+ title = estate_privileges_and_agendas_events.8.t
1591
+ desc = estate_privileges_and_agendas_events.8.desc
1592
+ picture = NOBLE_ESTATE_DEMANDS_eventPicture
1593
+ is_triggered_only = yes
1594
+ immediate = { hidden_effect = { set_country_flag = selecting_grand_vizier } }
1595
+
1596
+ #Select Grand Vizier from Clergy
1597
+ option = {
1598
+ name = estate_privileges_and_agendas_events.8.a
1599
+ trigger = { has_estate_privilege = estate_church_independent_inquisition }
1600
+ select_grand_vizier_from_estate = { estate = estate_church type = adm }
1601
+ ai_chance = { factor = 0 }
1602
+ }
1603
+
1604
+ #Select Grand Vizier from Burghers
1605
+ option = {
1606
+ name = estate_privileges_and_agendas_events.8.b
1607
+ trigger = { has_estate_privilege = estate_burghers_commercial_board_of_advice }
1608
+ select_grand_vizier_from_estate = { estate = estate_burghers type = dip }
1609
+ ai_chance = { factor = 0 }
1610
+ }
1611
+
1612
+ #Select Grand Vizier from Nobles
1613
+ option = {
1614
+ name = estate_privileges_and_agendas_events.8.c
1615
+ trigger = { has_estate_privilege = estate_nobles_advisors }
1616
+ select_grand_vizier_from_estate = { estate = estate_nobles type = mil }
1617
+ ai_chance = { factor = 0 }
1618
+ }
1619
+
1620
+ #Select Grand Vizier from Dhimmi
1621
+ option = {
1622
+ name = estate_privileges_and_agendas_events.8.d
1623
+ trigger = { always = no }
1624
+ select_grand_vizier_from_estate = { estate = estate_dhimmi type = adm }
1625
+ ai_chance = { factor = 0 }
1626
+ }
1627
+
1628
+ #Select Grand Vizier from Cossacks
1629
+ option = {
1630
+ name = estate_privileges_and_agendas_events.8.e
1631
+ trigger = { always = no }
1632
+ select_grand_vizier_from_estate = { estate = estate_cossacks type = mil }
1633
+ ai_chance = { factor = 0 }
1634
+ }
1635
+
1636
+ #Select Grand Vizier from Tribes
1637
+ option = {
1638
+ name = estate_privileges_and_agendas_events.8.f
1639
+ trigger = { always = no }
1640
+ select_grand_vizier_from_estate = { estate = estate_nomadic_tribes type = mil }
1641
+ ai_chance = { factor = 0 }
1642
+ }
1643
+
1644
+ #Select Grand Vizier from Brahmins
1645
+ option = {
1646
+ name = estate_privileges_and_agendas_events.8.g
1647
+ trigger = { always = no }
1648
+ select_grand_vizier_from_estate = { estate = estate_brahmins type = adm }
1649
+ ai_chance = { factor = 0 }
1650
+ }
1651
+
1652
+ #Select Grand Vizier from Rajputs
1653
+ option = {
1654
+ name = estate_privileges_and_agendas_events.8.h
1655
+ trigger = { has_estate_privilege = estate_rajput_advisor }
1656
+ select_grand_vizier_from_estate = { estate = estate_rajput type = mil }
1657
+ ai_chance = { factor = 0 }
1658
+ }
1659
+
1660
+ #Select Grand Vizier from Maratha
1661
+ option = {
1662
+ name = estate_privileges_and_agendas_events.8.i
1663
+ trigger = { has_estate_privilege = estate_maratha_advisor }
1664
+ select_grand_vizier_from_estate = { estate = estate_maratha type = mil }
1665
+ ai_chance = { factor = 0 }
1666
+ }
1667
+
1668
+ #Select Grand Vizier from Vaisyas
1669
+ option = {
1670
+ name = estate_privileges_and_agendas_events.8.j
1671
+ trigger = { has_estate_privilege = estate_vaisyas_advisor }
1672
+ select_grand_vizier_from_estate = { estate = estate_vaisyas type = dip }
1673
+ ai_chance = { factor = 0 }
1674
+ }
1675
+
1676
+ #Select Grand Vizier from Jains
1677
+ option = {
1678
+ name = estate_privileges_and_agendas_events.8.k
1679
+ trigger = { always = no }
1680
+ select_grand_vizier_from_estate = { estate = estate_jains type = adm }
1681
+ ai_chance = { factor = 0 }
1682
+ }
1683
+
1684
+ #Select Grand Vizier from Janissaries
1685
+ option = {
1686
+ name = estate_privileges_and_agendas_events.8.l
1687
+ trigger = { always = no }
1688
+ select_grand_vizier_from_estate = { estate = estate_janissaries type = mil }
1689
+ ai_chance = { factor = 0 }
1690
+ }
1691
+
1692
+ #Select Grand Vizier from Eunuchs
1693
+ option = {
1694
+ name = estate_privileges_and_agendas_events.8.m
1695
+ trigger = { always = no }
1696
+ select_grand_vizier_from_estate = { estate = estate_eunuchs type = mil }
1697
+ ai_chance = { factor = 0 }
1698
+ }
1699
+
1700
+ #Select Grand Vizier from Qizilbash
1701
+ option = {
1702
+ name = estate_privileges_and_agendas_events.8.o
1703
+ trigger = { always = no }
1704
+ select_grand_vizier_from_estate = { estate = estate_qizilbash type = mil }
1705
+ ai_chance = { factor = 0 }
1706
+ }
1707
+
1708
+ #Select Grand Vizier from Ghulams
1709
+ option = {
1710
+ name = estate_privileges_and_agendas_events.8.o
1711
+ trigger = { has_estate_privilege = estate_ghulams_advisor }
1712
+ select_grand_vizier_from_estate = { estate = estate_ghulams type = mil }
1713
+ ai_chance = { factor = 0 }
1714
+ }
1715
+
1716
+ #Fallback
1717
+ option = {
1718
+ name = estate_privileges_and_agendas_events.8.zzz
1719
+ trigger = {
1720
+ NOT = { has_estate_privilege = estate_church_independent_inquisition }
1721
+ NOT = { has_estate_privilege = estate_burghers_commercial_board_of_advice }
1722
+ NOT = { has_estate_privilege = estate_nobles_advisors }
1723
+ NOT = { has_estate_privilege = estate_rajput_advisor }
1724
+ NOT = { has_estate_privilege = estate_maratha_advisor }
1725
+ NOT = { has_estate_privilege = estate_vaisyas_advisor }
1726
+ NOT = { has_estate_privilege = estate_ghulams_advisor }
1727
+ }
1728
+ adm_power_cost = -50
1729
+ dip_power_cost = -50
1730
+ mil_power_cost = -50
1731
+ ai_chance = {
1732
+ factor = 0
1733
+ }
1734
+ }
1735
+ }
1736
+
1737
+ # Select an advisor Selection
1738
+ country_event = {
1739
+ id = estate_privileges_and_agendas_events.9
1740
+ title = flavor_gbr.16.t
1741
+ desc = { desc = flavor_gbr.16.desc.adm trigger = { has_country_flag = selected_adm_advisor } }
1742
+ desc = { desc = flavor_gbr.16.desc.dip trigger = { has_country_flag = selected_dip_advisor } }
1743
+ desc = { desc = flavor_gbr.16.desc.mil trigger = { has_country_flag = selected_mil_advisor } }
1744
+ desc = {
1745
+ desc = flavor_gbr.16.desc.zzz
1746
+ trigger = {
1747
+ NOT = { has_country_flag = selected_adm_advisor }
1748
+ NOT = { has_country_flag = selected_dip_advisor }
1749
+ NOT = { has_country_flag = selected_mil_advisor }
1750
+ }
1751
+ }
1752
+ picture = ELECTION_REPUBLICAN_eventPicture
1753
+ is_triggered_only = yes
1754
+
1755
+ after = {
1756
+ clr_country_flag = selected_adm_advisor
1757
+ clr_country_flag = selected_dip_advisor
1758
+ clr_country_flag = selected_mil_advisor
1759
+ clr_country_flag = selecting_grand_vizier
1760
+ clr_grand_vizier_flags = yes
1761
+ }
1762
+
1763
+ #ADM Advisor - artist
1764
+ option = {
1765
+ name = flavor_gbr.16.a
1766
+ trigger = { has_country_flag = selected_adm_advisor }
1767
+ define_and_hire_grand_vizier = { type = artist }
1768
+ ai_chance = { factor = 1 }
1769
+ }
1770
+ #ADM Advisor - inquisitor
1771
+ option = {
1772
+ name = flavor_gbr.16.b
1773
+ trigger = { has_country_flag = selected_adm_advisor }
1774
+ define_and_hire_grand_vizier = { type = inquisitor }
1775
+ ai_chance = { factor = 1 }
1776
+ }
1777
+ #ADM Advisor - master_of_mint
1778
+ option = {
1779
+ name = flavor_gbr.16.c
1780
+ trigger = { has_country_flag = selected_adm_advisor }
1781
+ define_and_hire_grand_vizier = { type = master_of_mint }
1782
+ ai_chance = { factor = 1 }
1783
+ }
1784
+ #ADM Advisor - natural_scientist
1785
+ option = {
1786
+ name = flavor_gbr.16.d
1787
+ trigger = { has_country_flag = selected_adm_advisor }
1788
+ define_and_hire_grand_vizier = { type = natural_scientist }
1789
+ ai_chance = { factor = 1 }
1790
+ }
1791
+ #ADM Advisor - theologian
1792
+ option = {
1793
+ name = flavor_gbr.16.e
1794
+ trigger = { has_country_flag = selected_adm_advisor }
1795
+ define_and_hire_grand_vizier = { type = theologian }
1796
+ ai_chance = { factor = 1 }
1797
+ }
1798
+ #ADM Advisor - treasurer
1799
+ option = {
1800
+ name = flavor_gbr.16.f
1801
+ trigger = { has_country_flag = selected_adm_advisor }
1802
+ define_and_hire_grand_vizier = { type = treasurer }
1803
+ ai_chance = { factor = 1 }
1804
+ }
1805
+ #ADM Advisor - philosopher
1806
+ option = {
1807
+ name = flavor_gbr.16.g
1808
+ trigger = { has_country_flag = selected_adm_advisor }
1809
+ define_and_hire_grand_vizier = { type = philosopher }
1810
+ ai_chance = { factor = 1 }
1811
+ }
1812
+
1813
+ #DIP Advisor - diplomat
1814
+ option = {
1815
+ name = flavor_gbr.16.h
1816
+ trigger = { has_country_flag = selected_dip_advisor }
1817
+ define_and_hire_grand_vizier = { type = diplomat }
1818
+ ai_chance = { factor = 1 }
1819
+ }
1820
+ #DIP Advisor - colonial_governor
1821
+ option = {
1822
+ name = flavor_gbr.16.i
1823
+ trigger = { has_country_flag = selected_dip_advisor }
1824
+ define_and_hire_grand_vizier = { type = colonial_governor }
1825
+ ai_chance = { factor = 1 }
1826
+ }
1827
+ #DIP Advisor - naval_reformer
1828
+ option = {
1829
+ name = flavor_gbr.16.j
1830
+ trigger = { has_country_flag = selected_dip_advisor num_of_ports = 1 is_primitive = no }
1831
+ define_and_hire_grand_vizier = { type = naval_reformer }
1832
+ ai_chance = { factor = 1 }
1833
+ }
1834
+ #DIP Advisor - navigator
1835
+ option = {
1836
+ name = flavor_gbr.16.k
1837
+ trigger = { has_country_flag = selected_dip_advisor num_of_ports = 1 }
1838
+ define_and_hire_grand_vizier = { type = navigator }
1839
+ ai_chance = { factor = 1 }
1840
+ }
1841
+ #DIP Advisor - spymaster
1842
+ option = {
1843
+ name = flavor_gbr.16.l
1844
+ trigger = { has_country_flag = selected_dip_advisor }
1845
+ define_and_hire_grand_vizier = { type = spymaster }
1846
+ ai_chance = { factor = 1 }
1847
+ }
1848
+ #DIP Advisor - statesman
1849
+ option = {
1850
+ name = flavor_gbr.16.m
1851
+ trigger = { has_country_flag = selected_dip_advisor }
1852
+ define_and_hire_grand_vizier = { type = statesman }
1853
+ ai_chance = { factor = 1 }
1854
+ }
1855
+ #DIP Advisor - trader
1856
+ option = {
1857
+ name = flavor_gbr.16.n
1858
+ trigger = { has_country_flag = selected_dip_advisor num_of_colonists = 1 is_colonial_nation = no }
1859
+ define_and_hire_grand_vizier = { type = trader }
1860
+ ai_chance = { factor = 1 }
1861
+ }
1862
+
1863
+ #MIL Advisor - army_organiser
1864
+ option = {
1865
+ name = flavor_gbr.16.o
1866
+ trigger = { has_country_flag = selected_mil_advisor }
1867
+ define_and_hire_grand_vizier = { type = army_organiser }
1868
+ ai_chance = { factor = 1 }
1869
+ }
1870
+ #MIL Advisor - army_reformer
1871
+ option = {
1872
+ name = flavor_gbr.16.p
1873
+ trigger = { has_country_flag = selected_mil_advisor }
1874
+ define_and_hire_grand_vizier = { type = army_reformer }
1875
+ ai_chance = { factor = 1 }
1876
+ }
1877
+ #MIL Advisor - commandant
1878
+ option = {
1879
+ name = flavor_gbr.16.q
1880
+ trigger = { has_country_flag = selected_mil_advisor }
1881
+ define_and_hire_grand_vizier = { type = commandant }
1882
+ ai_chance = { factor = 1 }
1883
+ }
1884
+ #MIL Advisor - grand_captain
1885
+ option = {
1886
+ name = flavor_gbr.16.r
1887
+ trigger = { has_country_flag = selected_mil_advisor }
1888
+ define_and_hire_grand_vizier = { type = grand_captain }
1889
+ ai_chance = { factor = 1 }
1890
+ }
1891
+ #MIL Advisor - recruitmaster
1892
+ option = {
1893
+ name = flavor_gbr.16.s
1894
+ trigger = { has_country_flag = selected_mil_advisor }
1895
+ define_and_hire_grand_vizier = { type = recruitmaster
1896
+ }
1897
+ ai_chance = { factor = 1 }
1898
+ }
1899
+ #MIL Advisor - fortification_expert
1900
+ option = {
1901
+ name = flavor_gbr.16.u
1902
+ trigger = { has_country_flag = selected_mil_advisor }
1903
+ define_and_hire_grand_vizier = { type = fortification_expert }
1904
+ ai_chance = { factor = 1 }
1905
+ }
1906
+ #MIL Advisor - quartermaster
1907
+ option = {
1908
+ name = flavor_gbr.16.v
1909
+ trigger = { has_country_flag = selected_mil_advisor }
1910
+ define_and_hire_grand_vizier = { type = quartermaster }
1911
+ ai_chance = { factor = 1 }
1912
+ }
1913
+
1914
+ #Fallback
1915
+ option = {
1916
+ name = flavor_gbr.16.zzz
1917
+ trigger = {
1918
+ NOT = { has_country_flag = selected_adm_advisor }
1919
+ NOT = { has_country_flag = selected_dip_advisor }
1920
+ NOT = { has_country_flag = selected_mil_advisor }
1921
+ }
1922
+ ai_chance = { factor = 1 }
1923
+ }
1381
1924
  }
events/Extended_Regencies.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  ###########################################################
2
2
  # Events for Extended Regencies
3
3
  #
4
- # written by Verónica Pazos
4
+ # written by Ver�nica Pazos
5
5
  ###########################################################
6
6
 
7
7
  namespace = extended_regency_events
events/FlavorARM.txt ADDED
@@ -0,0 +1,147 @@
1
+ ########################################
2
+ # Made by Parmelion
3
+ ########################################
4
+
5
+ namespace = flavor_arm
6
+
7
+ #Restoration of Great Armenia
8
+ country_event = {
9
+ id = flavor_arm.1
10
+ title = flavor_arm.1.t
11
+ desc = flavor_arm.1.d
12
+ picture = COPTIC_MOUNTAIN_eventPicture
13
+
14
+ is_triggered_only = yes
15
+
16
+ fire_only_once = yes
17
+
18
+ major = yes
19
+
20
+ option = {
21
+ name = flavor_arm.1.a
22
+ add_permanent_power_projection = {
23
+ type = 10_permanent_power_projection
24
+ amount = 10
25
+ }
26
+ override_country_name = GREAT_ARMENIA
27
+ set_country_flag = is_GREAT_ARMENIA_flag
28
+ set_country_flag = has_overriden_name_flag
29
+ set_country_flag = arm_great_armenian_ideas
30
+ custom_tooltip = arm_empower_nis_tt
31
+ add_country_modifier = {
32
+ name = "arm_resurgent_armenia"
33
+ duration = 7300
34
+ }
35
+ hidden_effect = {
36
+ swap_free_idea_group = yes
37
+ }
38
+ }
39
+ }
40
+
41
+ #The Church of the East
42
+ country_event = {
43
+ id = flavor_arm.2
44
+ title = flavor_arm.2.t
45
+ desc = flavor_arm.2.d
46
+ picture = COPTIC_CITY_eventPicture
47
+
48
+ is_triggered_only = yes
49
+
50
+ fire_only_once = yes
51
+
52
+
53
+ option = {
54
+ name = flavor_arm.2.a
55
+ 410 = {
56
+ change_religion = ROOT
57
+ }
58
+ custom_tooltip = armenia_center_conversion_tt
59
+ hidden_effect = {
60
+ 410 = {
61
+ add_reform_center = coptic
62
+ }
63
+ 410 = {
64
+ province_event = {
65
+ id = flavor_arm.3
66
+ days = 10950
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ #Remove Center
74
+ province_event = {
75
+ id = flavor_arm.3
76
+ title = none
77
+ desc = none
78
+ picture = none
79
+ hidden = yes
80
+ fire_only_once = yes
81
+ is_triggered_only = yes
82
+
83
+ immediate = {
84
+ remove_reform_center = coptic
85
+ }
86
+
87
+ option = { }
88
+ }
89
+
90
+ #The Coptic Restoration
91
+ country_event = {
92
+ id = flavor_arm.4
93
+ title = flavor_arm.4.t
94
+ desc = flavor_arm.4.d
95
+ picture = COPTIC_BISHOP_eventPicture
96
+
97
+ is_triggered_only = yes
98
+
99
+ fire_only_once = yes
100
+
101
+ major = yes
102
+
103
+ option = {
104
+ name = flavor_arm.4.a
105
+ custom_tooltip = arm_unlock_cawa_regiments_tt
106
+ unlock_government_reform = {
107
+ government_reform = the_cawa_regiments_reform
108
+ }
109
+ egypt_region = {
110
+ add_province_modifier = {
111
+ name = arm_coptic_restoration
112
+ duration = -1
113
+ }
114
+ }
115
+ custom_tooltip = arm_coptic_perma_claim_tt
116
+ hidden_effect = {
117
+ every_province = {
118
+ limit = {
119
+ religion = coptic
120
+ }
121
+ add_permanent_claim = ROOT
122
+ }
123
+ capital_scope = {
124
+ cawa_infantry = ROOT
125
+ cawa_infantry = ROOT
126
+ cawa_infantry = ROOT
127
+ cawa_infantry = ROOT
128
+ cawa_infantry = ROOT
129
+ cawa_infantry = ROOT
130
+ cawa_infantry = ROOT
131
+ cawa_infantry = ROOT
132
+ cawa_infantry = ROOT
133
+ cawa_infantry = ROOT
134
+ cawa_infantry = ROOT
135
+ cawa_infantry = ROOT
136
+ cawa_infantry = ROOT
137
+ cawa_infantry = ROOT
138
+ cawa_infantry = ROOT
139
+ cawa_infantry = ROOT
140
+ cawa_infantry = ROOT
141
+ cawa_infantry = ROOT
142
+ cawa_infantry = ROOT
143
+ cawa_infantry = ROOT
144
+ }
145
+ }
146
+ }
147
+ }
events/FlavorFRA.txt CHANGED
@@ -1203,7 +1203,7 @@ country_event = {
1203
1203
  add_adm_power = 50
1204
1204
  define_advisor = {
1205
1205
  type = statesman
1206
- name = "Charles Fran?ois de Broglie"
1206
+ name = "Charles Franois de Broglie"
1207
1207
  culture = gascon
1208
1208
  discount = yes
1209
1209
  skill = 2
@@ -1990,9 +1990,11 @@ country_event = {
1990
1990
  desc = {
1991
1991
  trigger = {
1992
1992
  NOT = {
1993
- has_adm_advisor = yes
1994
- has_dip_advisor = yes
1995
- has_mil_advisor = yes
1993
+ AND = {
1994
+ has_adm_advisor = yes
1995
+ has_dip_advisor = yes
1996
+ has_mil_advisor = yes
1997
+ }
1996
1998
  }
1997
1999
  }
1998
2000
  desc = emp_mission_events.7.d2
@@ -2198,11 +2200,11 @@ country_event = { #House de Valois
2198
2200
  name = flavor_fra.106.a
2199
2201
 
2200
2202
  ai_chance = { factor = 10 }
2201
- FRA = { create_union = PRO }
2202
2203
  if = {
2203
2204
  limit = { LOR = { is_subject_of = PRO } }
2204
2205
  inherit = LOR
2205
2206
  }
2207
+ FRA = { create_union = PRO }
2206
2208
  add_stability_or_adm_power = yes
2207
2209
  }
2208
2210
 
@@ -3297,7 +3299,7 @@ country_event = { #The Holy Lands of Jerusalem
3297
3299
 
3298
3300
  add_papal_influence = 50
3299
3301
  change_ruler_stat = {
3300
- stat = mil
3302
+ type = mil
3301
3303
  amount = 2
3302
3304
  }
3303
3305
  }
@@ -3310,6 +3312,11 @@ country_event = { #France in the 15th Century
3310
3312
  picture = wihgfx_FEMALE_GENERAL_eventPicture
3311
3313
  is_triggered_only = yes
3312
3314
  fire_only_once = yes
3315
+ trigger = {
3316
+ has_dlc = "Domination"
3317
+ tag = FRA
3318
+ not = { is_year = 1445 }
3319
+ }
3313
3320
  immediate = {
3314
3321
  hidden_effect = {
3315
3322
  if = {
@@ -3328,42 +3335,4 @@ country_event = { #France in the 15th Century
3328
3335
  name = flavor_fra.206.a
3329
3336
 
3330
3337
  }
3331
- }
3332
-
3333
-
3334
-
3335
-
3336
-
3337
-
3338
-
3339
-
3340
-
3341
-
3342
-
3343
-
3344
-
3345
-
3346
-
3347
-
3348
-
3349
-
3350
-
3351
-
3352
-
3353
-
3354
-
3355
-
3356
-
3357
-
3358
-
3359
-
3360
-
3361
-
3362
-
3363
-
3364
-
3365
-
3366
-
3367
-
3368
-
3369
-
3338
+ }
events/FlavorGEO.txt ADDED
@@ -0,0 +1,324 @@
1
+ ########################################
2
+ # Made by Parmelion
3
+ ########################################
4
+
5
+ namespace = flavor_geo
6
+
7
+ # A Troubled Realm
8
+ country_event = {
9
+ id = flavor_geo.1
10
+ title = flavor_geo.1.t
11
+ desc = flavor_geo.1.d
12
+ picture = PANIC_eventPicture
13
+ trigger = {
14
+ tag = GEO
15
+ not = { has_country_modifier = geo_powerful_nobles }
16
+ has_dlc = "King of Kings"
17
+ }
18
+ fire_only_once = yes
19
+ is_triggered_only = yes
20
+
21
+ option = {
22
+ name = flavor_geo.1.a
23
+ add_legitimacy = -20
24
+ add_country_modifier = {
25
+ name = "geo_powerful_nobles"
26
+ duration = -1
27
+ desc = geo_modifier_nobles_disaster
28
+ }
29
+ custom_tooltip = georgia_starting_event_tt
30
+ }
31
+ }
32
+
33
+ # Throne of the Romans
34
+ country_event = {
35
+ id = flavor_geo.2
36
+ title = flavor_geo.2.t
37
+ desc = flavor_geo.2.d
38
+ picture = BYZ_BYZANTINE_EAGLE_eventPicture
39
+
40
+ is_triggered_only = yes
41
+
42
+ fire_only_once = yes
43
+
44
+ major = yes
45
+
46
+ option = {
47
+ name = flavor_geo.2.a
48
+ if = {
49
+ limit = {
50
+ 151 = {
51
+ NOT = {
52
+ religion = ROOT
53
+ }
54
+ }
55
+ }
56
+ 151 = {
57
+ change_religion = ROOT
58
+ }
59
+ }
60
+ if = {
61
+ limit = {
62
+ NOT = {
63
+ government_rank = 3
64
+ }
65
+ }
66
+ set_government_rank = 3
67
+ }
68
+ custom_tooltip = geo_move_culture_tt
69
+ custom_tooltip = reestablishing_themes_names_tooltip
70
+ add_country_modifier = {
71
+ name = "geo_heirs_of_romans"
72
+ duration = -1
73
+ }
74
+ custom_tooltip = geo_constantinople_decision_tt
75
+ set_country_flag = geo_move_capital_flag
76
+ hidden_effect = {
77
+ change_primary_culture = georgian_new
78
+ set_heir_culture = georgian_new
79
+ set_ruler_culture = georgian_new
80
+ every_province = {
81
+ limit = {
82
+ culture = georgian
83
+ }
84
+ change_culture = georgian_new
85
+ }
86
+ every_country = {
87
+ limit = {
88
+ primary_culture = georgian
89
+ }
90
+ change_primary_culture = georgian_new
91
+ }
92
+ restore_greek_names = yes
93
+ }
94
+ }
95
+ }
96
+
97
+ # Sack of Sarai
98
+ country_event = {
99
+ id = flavor_geo.3
100
+ title = flavor_geo.3.t
101
+ desc = flavor_geo.3.d
102
+ picture = AB_BATTLE_eventPicture
103
+
104
+ is_triggered_only = yes
105
+
106
+ fire_only_once = yes
107
+
108
+ option = {
109
+ name = flavor_geo.3.a
110
+ 466 = {
111
+ add_devastation = 100
112
+ }
113
+ if = {
114
+ limit = {
115
+ has_dlc = "Cradle of Civilization"
116
+ }
117
+ add_army_professionalism = 0.05
118
+ }
119
+ else = {
120
+ add_army_tradition = 20
121
+ }
122
+ add_country_modifier = {
123
+ name = geo_broke_tatar_yoke
124
+ duration = 5475
125
+ }
126
+ }
127
+
128
+ option = {
129
+ name = flavor_geo.3.b
130
+ 466 = {
131
+ add_devastation = 50
132
+ }
133
+ add_treasury = 250
134
+ capital_scope = {
135
+ add_base_tax = 2
136
+ add_base_production = 2
137
+ add_base_manpower = 1
138
+ }
139
+ }
140
+
141
+ option = {
142
+ name = flavor_geo.3.c
143
+ add_dip_power = 100
144
+ add_country_modifier = {
145
+ name = geo_righteous_conquest
146
+ duration = 5475
147
+ }
148
+ }
149
+
150
+ }
151
+
152
+ # Giorgi Saakadze
153
+ country_event = {
154
+ id = flavor_geo.4
155
+ title = flavor_geo.4.t
156
+ desc = flavor_geo.4.d
157
+ picture = ADVISOR_eventPicture
158
+
159
+ mean_time_to_happen = {
160
+ months = 40
161
+ }
162
+
163
+ fire_only_once = yes
164
+
165
+ trigger = {
166
+ OR = {
167
+ tag = GEO
168
+ was_tag = GEO
169
+ }
170
+ is_year = 1610
171
+ }
172
+
173
+ option = {
174
+ name = flavor_geo.4.a
175
+ define_general = {
176
+ shock = 5
177
+ fire = 5
178
+ manuever = 4
179
+ siege = 3
180
+ name = "Giorgi Saakadze"
181
+ }
182
+ }
183
+
184
+ option = {
185
+ name = flavor_geo.4.b
186
+ define_advisor = {
187
+ type = commandant
188
+ name = "Giorgi Saakadze"
189
+ skill = 3
190
+ culture = ROOT
191
+ religion = ROOT
192
+ cost_multiplier = 0.25
193
+ }
194
+ }
195
+ }
196
+
197
+ # Sulkhan-Saba Orbeliani
198
+ country_event = {
199
+ id = flavor_geo.5
200
+ title = flavor_geo.5.t
201
+ desc = flavor_geo.5.d
202
+ picture = ADVISOR_eventPicture
203
+
204
+ mean_time_to_happen = {
205
+ months = 40
206
+ }
207
+
208
+ fire_only_once = yes
209
+
210
+ trigger = {
211
+ OR = {
212
+ tag = GEO
213
+ was_tag = GEO
214
+ }
215
+ is_year = 1680
216
+ }
217
+
218
+ option = {
219
+ name = flavor_geo.5.a
220
+ define_advisor = {
221
+ type = statesman
222
+ name = "Sulkhan-Saba Orbeliani"
223
+ skill = 3
224
+ culture = ROOT
225
+ religion = ROOT
226
+ cost_multiplier = 0.33
227
+ }
228
+ }
229
+
230
+ option = {
231
+ name = flavor_geo.5.b
232
+ add_dip_power = 50
233
+ }
234
+ }
235
+
236
+ # Samtskhe Liberty Desire
237
+ country_event = {
238
+ id = flavor_geo.6
239
+ title = flavor_geo.6.t
240
+ desc = flavor_geo.6.d
241
+ picture = ACCUSATION_eventPicture
242
+
243
+ mean_time_to_happen = {
244
+ months = 40
245
+ }
246
+
247
+ fire_only_once = yes
248
+
249
+ trigger = {
250
+ OR = {
251
+ tag = GEO
252
+ was_tag = GEO
253
+ }
254
+ exists = SME
255
+ SME = {
256
+ is_subject_of = GEO
257
+ }
258
+ }
259
+
260
+ option = {
261
+ name = flavor_geo.6.a
262
+ add_dip_power = -50
263
+ }
264
+
265
+ option = {
266
+ name = flavor_geo.6.b
267
+ SME = {
268
+ add_liberty_desire = 50
269
+ }
270
+ }
271
+ }
272
+
273
+ # Demetrius' Ambition
274
+ country_event = {
275
+ id = flavor_geo.7
276
+ title = flavor_geo.7.t
277
+ desc = flavor_geo.7.d
278
+ picture = NOBLE_ESTATE_DEMANDS_eventPicture
279
+
280
+ mean_time_to_happen = {
281
+ months = 40
282
+ }
283
+
284
+ fire_only_once = yes
285
+
286
+ trigger = {
287
+ is_or_was_tag = { tag = GEO }
288
+ imereti_area = {
289
+ type = all
290
+ country_or_non_sovereign_subject_holds = ROOT
291
+ }
292
+ OR = {
293
+ has_heir = no
294
+ NOT = { heir_claim = 50 }
295
+ }
296
+ has_ruler = "Vakhtang"
297
+ }
298
+
299
+ option = {
300
+ name = flavor_geo.7.a
301
+ imereti_area = {
302
+ add_local_autonomy = 50
303
+ }
304
+ add_country_modifier = {
305
+ name = "geo_conceded_demands"
306
+ duration = 3650
307
+ }
308
+ }
309
+
310
+ option = {
311
+ name = flavor_geo.7.b
312
+ random_owned_province = {
313
+ limit = {
314
+ area = imereti_area
315
+ }
316
+ spawn_rebels = {
317
+ type = nationalist_rebels
318
+ size = 3
319
+ leader = "Demetre Bagrationi"
320
+ friend = IME
321
+ }
322
+ }
323
+ }
324
+ }
events/FlavorPER.txt CHANGED
@@ -16,7 +16,10 @@ country_event = {
16
16
  NOT = { has_country_flag = PER_had_event_3560 }
17
17
  is_year = 1450
18
18
  NOT = { is_year = 1550 }
19
- tag = PER
19
+ OR = {
20
+ tag = PER
21
+ tag = ERS
22
+ }
20
23
  religion = shiite
21
24
  any_neighbor_country = {
22
25
  tag = TUR
@@ -119,7 +122,10 @@ country_event = {
119
122
  NOT = { has_country_flag = PER_had_event_3563 }
120
123
  is_year = 1600
121
124
  NOT = { is_year = 1650 }
122
- tag = PER
125
+ OR = {
126
+ tag = PER
127
+ tag = ERS
128
+ }
123
129
  any_neighbor_country = {
124
130
  tag = TUR
125
131
  any_owned_province = {
@@ -160,7 +166,7 @@ country_event = {
160
166
  ########################################
161
167
  # Flavor Events for Persia
162
168
  #
163
- # written by Sara Wendel-�rtqvist & Henrik Lohmander
169
+ # written by Sara Wendelrtqvist & Henrik Lohmander
164
170
  ########################################
165
171
 
166
172
  #The Reforms of Ismail
@@ -237,7 +243,10 @@ country_event = {
237
243
  fire_only_once = yes
238
244
 
239
245
  trigger = {
240
- tag = PER
246
+ OR = {
247
+ tag = PER
248
+ tag = ERS
249
+ }
241
250
  is_year = 1580
242
251
  owns = 429
243
252
  NOT = {
@@ -274,7 +283,10 @@ country_event = {
274
283
  fire_only_once = yes
275
284
 
276
285
  trigger = {
277
- tag = PER
286
+ OR = {
287
+ tag = PER
288
+ tag = ERS
289
+ }
278
290
  is_year = 1590
279
291
  owns = 429
280
292
  NOT = {
@@ -308,10 +320,24 @@ country_event = {
308
320
  id = flavor_per.4
309
321
  title = "flavor_per.EVTNAME4"
310
322
  desc = "flavor_per.EVTDESC4"
311
- picture = LIBERUM_VETO_eventPicture
312
-
323
+ picture = {
324
+ trigger = {
325
+ has_dlc = "King of Kings"
326
+ }
327
+ picture = QIZILBASH_ESTATE_DEMANDS_eventPicture
328
+ }
329
+ picture = {
330
+ trigger = {
331
+ not = { has_dlc = "King of Kings" }
332
+ }
333
+ picture = LIBERUM_VETO_eventPicture
334
+ }
335
+ fire_only_once = yes
313
336
  trigger = {
314
- tag = PER
337
+ OR = {
338
+ tag = PER
339
+ tag = ERS
340
+ }
315
341
  is_year = 1580
316
342
  NOT = {
317
343
  has_country_modifier = per_political_turmoil_timer
@@ -353,6 +379,10 @@ country_event = {
353
379
  }
354
380
  }
355
381
  add_years_of_income = -1
382
+ add_estate_loyalty = {
383
+ estate = estate_qizilbash
384
+ loyalty = 10
385
+ }
356
386
  }
357
387
  }
358
388
 
@@ -366,7 +396,10 @@ country_event = {
366
396
  fire_only_once = yes
367
397
 
368
398
  trigger = {
369
- tag = PER
399
+ OR = {
400
+ tag = PER
401
+ tag = ERS
402
+ }
370
403
  is_year = 1635
371
404
  NOT = {
372
405
  has_country_modifier = per_political_fragmentation_timer
@@ -418,7 +451,10 @@ country_event = {
418
451
  fire_only_once = yes
419
452
 
420
453
  trigger = {
421
- tag = PER
454
+ OR = {
455
+ tag = PER
456
+ tag = ERS
457
+ }
422
458
  NOT = { primary_culture = afghani }
423
459
  NOT = { exists = AFG }
424
460
  any_owned_province = { culture = afghani }
@@ -461,7 +497,10 @@ country_event = {
461
497
  fire_only_once = yes
462
498
 
463
499
  trigger = {
464
- tag = PER
500
+ OR = {
501
+ tag = PER
502
+ tag = ERS
503
+ }
465
504
  NOT = { is_year = 1600 }
466
505
  }
467
506
 
@@ -473,8 +512,8 @@ country_event = {
473
512
  name = flavor_per.7.a
474
513
  add_prestige = 10
475
514
  add_country_modifier = {
476
- name = per_miniature_school
477
- duration = 3650
515
+ name = per_miniature_school
516
+ duration = 3650
478
517
  }
479
518
  }
480
519
  }
@@ -489,7 +528,10 @@ country_event = {
489
528
  fire_only_once = yes
490
529
 
491
530
  trigger = {
492
- tag = PER
531
+ OR = {
532
+ tag = PER
533
+ tag = ERS
534
+ }
493
535
  is_year = 1620
494
536
  NOT = { is_year = 1635 }
495
537
  }
@@ -500,8 +542,12 @@ country_event = {
500
542
 
501
543
  option = { #
502
544
  name = flavor_per.8.a
503
- add_legitimacy = 10
504
- add_prestige = 5
545
+ add_legitimacy_or_mil_power = {
546
+ amount = 10
547
+ republican_tradition = 3
548
+ }
549
+ add_prestige_or_monarch_power = { amount = 20 }
550
+ add_splendor = 400
505
551
  }
506
552
  }
507
553
 
@@ -511,8 +557,26 @@ country_event = {
511
557
  title = flavor_per.9.t
512
558
  desc = flavor_per.9.d
513
559
  picture = PRAYING_eventPicture
514
-
515
- is_triggered_only = yes
560
+ trigger = {
561
+ OR = {
562
+ AND = {
563
+ tag = PER
564
+ NOT = { has_mission = conquest_of_arabian_iraq }
565
+ owns_core_province = 2311
566
+ }
567
+ has_country_flag = trigger_flavor_per_9
568
+ }
569
+ NOT = { has_country_flag = had_najaf_event }
570
+ }
571
+ mean_time_to_happen = {
572
+ months = 1
573
+ }
574
+ immediate = {
575
+ hidden_effect = {
576
+ clr_country_flag = conquest_of_arabian_iraq
577
+ set_country_flag = had_najaf_event
578
+ }
579
+ }
516
580
 
517
581
 
518
582
  option = { #Whatever is needed we must provide.
@@ -636,7 +700,18 @@ country_event = {
636
700
  id = flavor_per.12
637
701
  title = flavor_per.12.t
638
702
  desc = flavor_per.12.d
639
- picture = RELIGIOUS_TURMOIL_eventPicture
703
+ picture = {
704
+ trigger = {
705
+ has_dlc = "King of Kings"
706
+ }
707
+ picture = QIZILBASH_ESTATE_DEMANDS_eventPicture
708
+ }
709
+ picture = {
710
+ trigger = {
711
+ not = { has_dlc = "King of Kings" }
712
+ }
713
+ picture = RELIGIOUS_TURMOIL_eventPicture
714
+ }
640
715
 
641
716
  fire_only_once = yes
642
717
 
@@ -714,6 +789,17 @@ country_event = {
714
789
 
715
790
  option = { #Ok.
716
791
  name = flavor_per.12.a
792
+ random_owned_province = {
793
+ limit = {
794
+ has_province_flag = per_qizilbash
795
+ }
796
+ spawn_rebels = {
797
+ type = nationalist_rebels
798
+ size = 2
799
+ separatists_target = PER
800
+ friend = PER
801
+ }
802
+ }
717
803
  random_owned_province = {
718
804
  limit = {
719
805
  has_province_flag = per_qizilbash
@@ -721,6 +807,18 @@ country_event = {
721
807
  spawn_rebels = {
722
808
  type = nationalist_rebels
723
809
  size = 1
810
+ separatists_target = PER
811
+ friend = PER
812
+ }
813
+ }
814
+ random_owned_province = {
815
+ limit = {
816
+ has_province_flag = per_qizilbash
817
+ }
818
+ spawn_rebels = {
819
+ type = nationalist_rebels
820
+ size = 1
821
+ separatists_target = PER
724
822
  friend = PER
725
823
  }
726
824
  }
@@ -730,7 +828,8 @@ country_event = {
730
828
  }
731
829
  spawn_rebels = {
732
830
  type = nationalist_rebels
733
- size = 1
831
+ size = 2
832
+ separatists_target = PER
734
833
  friend = PER
735
834
  }
736
835
  clr_province_flag = per_qizilbash
@@ -739,7 +838,6 @@ country_event = {
739
838
  }
740
839
 
741
840
  #Persia and Shiism
742
-
743
841
  country_event = {
744
842
  id = flavor_per.13
745
843
  title = flavor_per.13.t
@@ -749,7 +847,11 @@ country_event = {
749
847
  fire_only_once = yes
750
848
 
751
849
  trigger = {
752
- tag = PER
850
+ NOT = { has_dlc = "King of Kings" }
851
+ OR = {
852
+ tag = PER
853
+ tag = ERS
854
+ }
753
855
  is_free_or_tributary_trigger = yes
754
856
  NOT = { is_year = 1630 }
755
857
  }
@@ -791,7 +893,10 @@ country_event = {
791
893
  fire_only_once = yes
792
894
 
793
895
  trigger = {
794
- tag = PER
896
+ OR = {
897
+ tag = PER
898
+ tag = ERS
899
+ }
795
900
  religion = shiite
796
901
  has_country_flag = per_shiite_policies
797
902
  }
@@ -820,7 +925,6 @@ country_event = {
820
925
  }
821
926
 
822
927
  #Shiite Brain Drain
823
-
824
928
  country_event = {
825
929
  id = flavor_per.15
826
930
  title = flavor_per.15.t
@@ -830,7 +934,10 @@ country_event = {
830
934
  fire_only_once = yes
831
935
 
832
936
  trigger = {
833
- tag = PER
937
+ OR = {
938
+ tag = PER
939
+ tag = ERS
940
+ }
834
941
  religion = shiite
835
942
  has_country_flag = per_shiite_policies
836
943
  }
@@ -874,12 +981,12 @@ country_event = {
874
981
  title = flavor_per.16.t
875
982
  desc = flavor_per.16.d
876
983
  picture = CITY_VIEW_eventPicture
877
-
878
984
  fire_only_once = yes
879
-
880
985
  trigger = {
881
- tag = PER
882
- religion = shiite
986
+ OR = {
987
+ tag = PER
988
+ tag = ERS
989
+ }
883
990
  is_year = 1580
884
991
  NOT = { is_year = 1630 }
885
992
  owns_core_province = 429
@@ -926,7 +1033,10 @@ country_event = {
926
1033
  fire_only_once = yes
927
1034
 
928
1035
  trigger = {
929
- tag = PER
1036
+ OR = {
1037
+ tag = PER
1038
+ tag = ERS
1039
+ }
930
1040
  had_country_flag = { flag = per_isfahan_construction days = 3650 }
931
1041
  owns_core_province = 429
932
1042
  429 = {
@@ -951,3 +1061,3183 @@ country_event = {
951
1061
  }
952
1062
 
953
1063
  }
1064
+
1065
+ ########################################
1066
+ # Additional Events for Persia
1067
+ ########################################
1068
+
1069
+ #The Religious Focus of Persia
1070
+ country_event = {
1071
+ id = flavor_per.18
1072
+ title = flavor_per.18.t
1073
+ desc = flavor_per.18.desc
1074
+ picture = CITY_VIEW_eventPicture
1075
+ is_triggered_only = yes
1076
+
1077
+ option = {
1078
+ name = flavor_per.18.a
1079
+ trigger = {
1080
+ OR = {
1081
+ has_country_flag = per_shia_missions
1082
+ has_country_flag = per_sunni_missions
1083
+ has_country_flag = per_zoroastrian_missions
1084
+ }
1085
+ }
1086
+ select_current_missions = { key = PER }
1087
+ ai_chance = { factor = 0 }
1088
+ }
1089
+
1090
+ option = {
1091
+ name = flavor_per.18.c
1092
+ trigger = { NOT = { has_country_flag = per_shia_missions } }
1093
+ set_country_flag = per_shia_missions
1094
+ clr_country_flag = per_sunni_missions
1095
+ clr_country_flag = per_zoroastrian_missions
1096
+ swap_non_generic_missions = yes
1097
+ custom_tooltip = per_preview_muslim_missions
1098
+ ai_chance = { factor = 0 }
1099
+ }
1100
+
1101
+ option = {
1102
+ name = flavor_per.18.c
1103
+ trigger = { NOT = { has_country_flag = per_sunni_missions } }
1104
+ clr_country_flag = per_shia_missions
1105
+ set_country_flag = per_sunni_missions
1106
+ clr_country_flag = per_zoroastrian_missions
1107
+ swap_non_generic_missions = yes
1108
+ custom_tooltip = per_preview_muslim_missions
1109
+ ai_chance = { factor = 0 }
1110
+ }
1111
+
1112
+ option = {
1113
+ name = flavor_per.18.d
1114
+ trigger = { NOT = { has_country_flag = per_zoroastrian_missions } }
1115
+ clr_country_flag = per_shia_missions
1116
+ clr_country_flag = per_sunni_missions
1117
+ set_country_flag = per_zoroastrian_missions
1118
+ swap_non_generic_missions = yes
1119
+ custom_tooltip = per_preview_zoroastrian_missions
1120
+ ai_chance = { factor = 0 }
1121
+ }
1122
+
1123
+ option = {
1124
+ name = flavor_per.18.e
1125
+ custom_tooltip = BYZ_nothing_will_occur
1126
+ ai_chance = {
1127
+ factor = 0
1128
+ }
1129
+ }
1130
+
1131
+ #AI section
1132
+ option = {
1133
+ trigger = { ai = yes }
1134
+ if = {
1135
+ limit = { was_tag = ARL }
1136
+ set_country_flag = per_shia_missions clr_country_flag = per_sunni_missions clr_country_flag = per_zoroastrian_missions
1137
+ }
1138
+ else_if = {
1139
+ limit = { primary_culture = mazandarani }
1140
+ clr_country_flag = per_shia_missions clr_country_flag = per_sunni_missions set_country_flag = per_zoroastrian_missions
1141
+ }
1142
+ else = {
1143
+ random_list = {
1144
+ 70 = { set_country_flag = per_shia_missions clr_country_flag = per_sunni_missions clr_country_flag = per_zoroastrian_missions }
1145
+ 29 = { clr_country_flag = per_shia_missions set_country_flag = per_sunni_missions clr_country_flag = per_zoroastrian_missions }
1146
+ 1 = { clr_country_flag = per_shia_missions clr_country_flag = per_sunni_missions set_country_flag = per_zoroastrian_missions }
1147
+ }
1148
+ }
1149
+ swap_non_generic_missions = yes
1150
+ select_current_missions = { key = PER }
1151
+ trigger_switch = {
1152
+ on_trigger = has_country_flag
1153
+ per_shia_missions = { country_event = { id = flavor_per.34 } }
1154
+ per_sunni_missions = { country_event = { id = flavor_per.34 } }
1155
+ per_zoroastrian_missions = { country_event = { id = flavor_per.35 } }
1156
+ }
1157
+ ai_chance = {
1158
+ factor = 100
1159
+ }
1160
+ }
1161
+ }
1162
+
1163
+ #The Persian Rugs
1164
+ country_event = {
1165
+ id = flavor_per.19
1166
+ title = flavor_per.19.t
1167
+ desc = flavor_per.19.desc
1168
+ picture = CITY_VIEW_eventPicture
1169
+ is_triggered_only = yes
1170
+ major = yes
1171
+
1172
+ option = { #Monopolize the Rug Market
1173
+ name = flavor_per.19.a
1174
+ add_mercantilism = 5
1175
+ change_price = {
1176
+ trade_goods = silk
1177
+ key = PERSIA_SILK_MONOPOLIZATION
1178
+ value = 1.5
1179
+ duration = 14600
1180
+ }
1181
+ change_price = {
1182
+ trade_goods = cloth
1183
+ key = PERSIA_CLOTH_MONOPOLIZATION
1184
+ value = 0.25
1185
+ duration = 14600
1186
+ }
1187
+ change_price = {
1188
+ trade_goods = dyes
1189
+ key = PERSIA_DYES_MONOPOLIZATION
1190
+ value = 0.25
1191
+ duration = 14600
1192
+ }
1193
+ ai_chance = {
1194
+ factor = 0
1195
+ }
1196
+ }
1197
+
1198
+ option = { #Flood the Rug Market
1199
+ name = flavor_per.19.b
1200
+ add_years_of_owned_provinces_production_income = {
1201
+ years = 5
1202
+ trigger = {
1203
+ region = persia_region
1204
+ OR = {
1205
+ trade_goods = silk
1206
+ trade_goods = cloth
1207
+ trade_goods = dyes
1208
+ }
1209
+ }
1210
+ custom_tooltip = per_the_persian_rug_tt
1211
+ }
1212
+ change_price = {
1213
+ trade_goods = silk
1214
+ key = PERSIA_SILK_FLOOD
1215
+ value = -0.5
1216
+ duration = 14600
1217
+ }
1218
+ change_price = {
1219
+ trade_goods = cloth
1220
+ key = PERSIA_CLOTH_FLOOD
1221
+ value = -0.15
1222
+ duration = 14600
1223
+ }
1224
+ change_price = {
1225
+ trade_goods = dyes
1226
+ key = PERSIA_DYES_FLOOD
1227
+ value = -0.15
1228
+ duration = 14600
1229
+ }
1230
+ ai_chance = {
1231
+ factor = 0
1232
+ }
1233
+ }
1234
+
1235
+ option = { #Keep it moderate
1236
+ name = flavor_per.19.c
1237
+ add_years_of_owned_provinces_production_income = {
1238
+ years = 2
1239
+ trigger = {
1240
+ region = persia_region
1241
+ OR = {
1242
+ trade_goods = silk
1243
+ trade_goods = cloth
1244
+ trade_goods = dyes
1245
+ }
1246
+ }
1247
+ custom_tooltip = per_the_persian_rug_tt
1248
+ }
1249
+ add_mercantilism = 2
1250
+ change_price = {
1251
+ trade_goods = silk
1252
+ key = PERSIA_SILK
1253
+ value = 0.2
1254
+ duration = 14600
1255
+ }
1256
+ change_price = {
1257
+ trade_goods = cloth
1258
+ key = PERSIA_CLOTH
1259
+ value = 0.1
1260
+ duration = 14600
1261
+ }
1262
+ change_price = {
1263
+ trade_goods = dyes
1264
+ key = PERSIA_DYES
1265
+ value = 0.1
1266
+ duration = 14600
1267
+ }
1268
+ ai_chance = {
1269
+ factor = 1
1270
+ }
1271
+ }
1272
+ }
1273
+
1274
+ #################
1275
+ # Legacy Events #
1276
+ #################
1277
+ #Legacy of Timur
1278
+ country_event = {
1279
+ id = flavor_per.20
1280
+ title = flavor_per.20.t
1281
+ desc = flavor_per.20.desc
1282
+ picture = HORDE_ON_HORSEBACK_eventPicture
1283
+ is_triggered_only = yes
1284
+ #Timur lives on in our memories!
1285
+ option = {
1286
+ name = flavor_per.20.a
1287
+ if = {
1288
+ limit = { NOT = { government = monarchy } }
1289
+ change_government = monarchy
1290
+ }
1291
+ unlock_government_reform = {
1292
+ government_reform = legacy_of_timur_reform
1293
+ }
1294
+ add_government_reform = legacy_of_timur_reform
1295
+ ai_chance = {
1296
+ factor = 1
1297
+ }
1298
+ }
1299
+ #His practices might be useful for a later time
1300
+ option = {
1301
+ name = flavor_per.20.b
1302
+ unlock_government_reform = {
1303
+ government_reform = legacy_of_timur_reform
1304
+ }
1305
+ change_government_reform_progress = 50
1306
+ ai_chance = {
1307
+ factor = 0
1308
+ }
1309
+ }
1310
+ }
1311
+
1312
+ #Legacy of the Safavid
1313
+ country_event = {
1314
+ id = flavor_per.21
1315
+ title = flavor_per.21.t
1316
+ desc = flavor_per.21.desc
1317
+ picture = GOOD_WITH_MONARCH_eventPicture
1318
+ is_triggered_only = yes
1319
+ #Timur lives on in our memories!
1320
+ option = {
1321
+ name = flavor_per.21.a
1322
+ unlock_government_reform = {
1323
+ government_reform = legacy_of_the_safavid_reform
1324
+ }
1325
+ add_government_reform = legacy_of_the_safavid_reform
1326
+ ai_chance = {
1327
+ factor = 1
1328
+ }
1329
+ }
1330
+ #His practices might be useful for a later time
1331
+ option = {
1332
+ name = flavor_per.21.b
1333
+ unlock_government_reform = {
1334
+ government_reform = legacy_of_the_safavid_reform
1335
+ }
1336
+ change_government_reform_progress = 50
1337
+ ai_chance = {
1338
+ factor = 0
1339
+ }
1340
+ }
1341
+ }
1342
+
1343
+ #Legacy of Eranshahr
1344
+ country_event = {
1345
+ id = flavor_per.22
1346
+ title = flavor_per.22.t
1347
+ desc = {
1348
+ trigger = { religion_group = zoroastrian_group }
1349
+ desc = flavor_per.22.desc.a
1350
+ }
1351
+ desc = {
1352
+ trigger = { NOT = { religion_group = zoroastrian_group } }
1353
+ desc = flavor_per.22.desc.b
1354
+ }
1355
+ picture = GOOD_WITH_MONARCH_eventPicture
1356
+ is_triggered_only = yes
1357
+ option = {
1358
+ name = flavor_per.22.a
1359
+ trigger = { religion_group = zoroastrian_group }
1360
+ if = {
1361
+ limit = { NOT = { government = monarchy } }
1362
+ change_government = monarchy
1363
+ }
1364
+ unlock_government_reform = {
1365
+ government_reform = legacy_of_eranshahr_reform
1366
+ }
1367
+ add_government_reform = legacy_of_eranshahr_reform
1368
+ if = {
1369
+ limit = { has_dlc = "Cradle of Civilization" }
1370
+ set_trade_power_requirement_of_propogate_religion = { value = 20 }
1371
+ }
1372
+ else = { add_adm_power = 50 add_dip_power = 50 add_mil_power = 50 }
1373
+ ai_chance = {
1374
+ factor = 1
1375
+ }
1376
+ }
1377
+ option = {
1378
+ name = flavor_per.22.b
1379
+ trigger = { religion_group = zoroastrian_group }
1380
+ unlock_government_reform = {
1381
+ government_reform = legacy_of_eranshahr_reform
1382
+ }
1383
+ change_government_reform_progress = 50
1384
+ if = {
1385
+ limit = { has_dlc = "Cradle of Civilization" }
1386
+ set_trade_power_requirement_of_propogate_religion = { value = 20 }
1387
+ }
1388
+ else = { add_adm_power = 50 add_dip_power = 50 add_mil_power = 50 }
1389
+ ai_chance = {
1390
+ factor = 0
1391
+ }
1392
+ }
1393
+ option = {
1394
+ name = flavor_per.22.c
1395
+ trigger = { NOT = { religion_group = zoroastrian_group } }
1396
+ if = {
1397
+ limit = { NOT = { government = monarchy } }
1398
+ change_government = monarchy
1399
+ }
1400
+ unlock_government_reform = {
1401
+ government_reform = legacy_of_eranshahr_reform
1402
+ }
1403
+ add_government_reform = legacy_of_eranshahr_reform
1404
+ ai_chance = {
1405
+ factor = 1
1406
+ }
1407
+ }
1408
+ option = {
1409
+ name = flavor_per.22.d
1410
+ trigger = { NOT = { religion_group = zoroastrian_group } }
1411
+ unlock_government_reform = {
1412
+ government_reform = legacy_of_eranshahr_reform
1413
+ }
1414
+ change_government_reform_progress = 50
1415
+ ai_chance = {
1416
+ factor = 0
1417
+ }
1418
+ }
1419
+ }
1420
+
1421
+ #Legacy of the Seljuk
1422
+ country_event = {
1423
+ id = flavor_per.23
1424
+ title = flavor_per.23.t
1425
+ desc = flavor_per.23.desc
1426
+ picture = DEVLET_I_RUM_eventPicture
1427
+ is_triggered_only = yes
1428
+ option = {
1429
+ name = flavor_per.23.a
1430
+ unlock_government_reform = {
1431
+ government_reform = legacy_of_the_seljuk_reform
1432
+ }
1433
+ add_government_reform = legacy_of_the_seljuk_reform
1434
+ ai_chance = {
1435
+ factor = 1
1436
+ }
1437
+ }
1438
+ option = {
1439
+ name = flavor_per.23.b
1440
+ unlock_government_reform = {
1441
+ government_reform = legacy_of_the_seljuk_reform
1442
+ }
1443
+ change_government_reform_progress = 50
1444
+ ai_chance = {
1445
+ factor = 0
1446
+ }
1447
+ }
1448
+ }
1449
+
1450
+ ##########
1451
+
1452
+ # Weaving Gold & Silk
1453
+ country_event = {
1454
+ id = flavor_per.24
1455
+ title = flavor_tur.252.t
1456
+ desc = flavor_tur.252.desc
1457
+ picture = TRADEGOODS_eventPicture
1458
+ is_triggered_only = yes
1459
+ major = yes
1460
+ option = {
1461
+ name = flavor_tur.252.a
1462
+ add_prestige = 100
1463
+ change_price = {
1464
+ trade_goods = silk
1465
+ key = PERSIAN_SILK
1466
+ value = 0.25
1467
+ duration = -1
1468
+ }
1469
+ change_price = {
1470
+ trade_goods = dyes
1471
+ key = PERSIAN_DYES
1472
+ value = 0.5
1473
+ duration = -1
1474
+ }
1475
+ change_price = {
1476
+ trade_goods = cloth
1477
+ key = PERSIAN_CLOTH
1478
+ value = 0.35
1479
+ duration = -1
1480
+ }
1481
+ }
1482
+ }
1483
+
1484
+ # Establishment of the Ghulams
1485
+ country_event = {
1486
+ id = flavor_per.25
1487
+ title = flavor_per.25.t
1488
+ desc = flavor_per.25.desc
1489
+ picture = MILITARY_CAMP_eventPicture
1490
+ is_triggered_only = yes
1491
+ option = {
1492
+ name = flavor_per.25.a
1493
+ define_advisor = {
1494
+ type = commandant
1495
+ cost_multiplier = 0.25
1496
+ culture = georgian
1497
+ skill = 3
1498
+ }
1499
+ unlock_estate = {
1500
+ estate = estate_ghulams
1501
+ }
1502
+ }
1503
+ }
1504
+
1505
+ #Trade with Persia
1506
+ country_event = {
1507
+ id = flavor_per.26
1508
+ title = flavor_aju.5.t
1509
+ desc = flavor_aju.5.d
1510
+ picture = MERCHANTS_TALKING_eventPicture
1511
+ is_triggered_only = yes
1512
+
1513
+ option = { #Good idea
1514
+ name = flavor_aju.5.a
1515
+ add_country_modifier = {
1516
+ name = per_persian_merchants_active
1517
+ duration = 9125
1518
+ }
1519
+ ai_chance = {
1520
+ factor = 1
1521
+ modifier = {
1522
+ factor = 0
1523
+ OR = {
1524
+ ai_attitude = { who = FROM attitude = attitude_hostile }
1525
+ ai_attitude = { who = FROM attitude = attitude_outraged }
1526
+ ai_attitude = { who = FROM attitude = attitude_rivalry }
1527
+ }
1528
+ }
1529
+ }
1530
+ }
1531
+
1532
+ option = { #Nah
1533
+ name = flavor_aju.5.b
1534
+ add_mercantilism = 2
1535
+ ai_chance = {
1536
+ factor = 1
1537
+ modifier = {
1538
+ factor = 0
1539
+ NOT = { ai_attitude = { who = FROM attitude = attitude_hostile } }
1540
+ NOT = { ai_attitude = { who = FROM attitude = attitude_outraged } }
1541
+ NOT = { ai_attitude = { who = FROM attitude = attitude_rivalry } }
1542
+ }
1543
+ }
1544
+ }
1545
+ }
1546
+
1547
+ #The Lion and the Dragon
1548
+ country_event = {
1549
+ id = flavor_per.27
1550
+ title = flavor_per.27.t
1551
+ desc = flavor_per.27.desc
1552
+ is_triggered_only = yes
1553
+ picture = DIPLOMACY_eventPicture
1554
+ major = yes
1555
+ major_trigger = {
1556
+ owns = 1816
1557
+ owns = 1821
1558
+ owns = 667
1559
+ }
1560
+ immediate = {
1561
+ hidden_effect = {
1562
+ random_ally = {
1563
+ limit = {
1564
+ owns = 1816
1565
+ owns = 1821
1566
+ owns = 667
1567
+ }
1568
+ save_event_target_as = chinese_friend
1569
+ }
1570
+ }
1571
+ }
1572
+ option = {
1573
+ name = flavor_per.27.a
1574
+ event_target:chinese_friend = {
1575
+ country_event = {
1576
+ id = flavor_per.28
1577
+ }
1578
+ }
1579
+ add_innovativeness_or_monarch_power = { amount = 3 }
1580
+ }
1581
+ }
1582
+
1583
+ #A [From.GetAdjective] ambassador meets us
1584
+ country_event = {
1585
+ id = flavor_per.28
1586
+ title = flavor_per.28.t
1587
+ desc = flavor_per.28.desc
1588
+ picture = DIPLOMACY_eventPicture
1589
+ goto = persian_capital
1590
+ is_triggered_only = yes
1591
+ immediate = {
1592
+ hidden_effect = {
1593
+ capital_scope = {
1594
+ save_event_target_as = persian_capital
1595
+ }
1596
+ }
1597
+ }
1598
+
1599
+ option = { #Welcome him!
1600
+ name = flavor_per.28.a
1601
+ add_historical_friend = FROM
1602
+ tooltip = { FROM = { add_historical_friend = root } }
1603
+ FROM = {
1604
+ set_country_flag = has_chinese_embassy
1605
+ country_event = {
1606
+ id = flavor_per.29
1607
+ }
1608
+ }
1609
+ hidden_effect = {
1610
+ set_global_flag = per_chinese_embassy
1611
+ save_global_event_target_as = persian_embassy_holder
1612
+ set_country_flag = has_persian_embassy
1613
+ }
1614
+ capital_scope = {
1615
+ add_province_triggered_modifier = per_chinese_embassy
1616
+ hidden_effect = { save_global_event_target_as = chinese_embassy_scope }
1617
+ }
1618
+ reverse_add_opinion = {
1619
+ who = FROM
1620
+ modifier = zan_has_embassy
1621
+ }
1622
+ ai_chance = {
1623
+ factor = 1
1624
+ }
1625
+ }
1626
+
1627
+ option = { #We have no need for diplomacy with Persia
1628
+ name = flavor_per.28.b
1629
+ FROM = {
1630
+ country_event = {
1631
+ id = flavor_per.30
1632
+ }
1633
+ }
1634
+ ai_chance = {
1635
+ factor = 0
1636
+ }
1637
+ }
1638
+ }
1639
+
1640
+ #Persia welcomes our ambassador + embassy
1641
+ country_event = {
1642
+ id = flavor_per.29
1643
+ title = flavor_per.29.t
1644
+ desc = flavor_per.29.desc
1645
+ picture = DIPLOMACY_eventPicture
1646
+ goto = chinese_capital
1647
+ is_triggered_only = yes
1648
+ immediate = {
1649
+ hidden_effect = {
1650
+ capital_scope = {
1651
+ save_event_target_as = chinese_capital
1652
+ }
1653
+ }
1654
+ }
1655
+
1656
+ option = {
1657
+ name = flavor_per.29.a
1658
+ add_historical_friend = FROM
1659
+ tooltip = { FROM = { add_historical_friend = root } }
1660
+ hidden_effect = {
1661
+ save_global_event_target_as = chinese_embassy_holder
1662
+ }
1663
+ capital_scope = {
1664
+ add_province_triggered_modifier = per_persian_embassy
1665
+ save_global_event_target_as = persian_embassy_scope
1666
+ }
1667
+ reverse_add_opinion = {
1668
+ who = FROM
1669
+ modifier = zan_has_embassy
1670
+ }
1671
+ ai_chance = {
1672
+ factor = 1
1673
+ }
1674
+ }
1675
+ }
1676
+
1677
+ #China expelled the ambassador
1678
+ country_event = {
1679
+ id = flavor_per.30
1680
+ title = flavor_per.30.t
1681
+ desc = flavor_per.30.desc
1682
+ picture = ACCUSATION_eventPicture
1683
+
1684
+ is_triggered_only = yes
1685
+
1686
+ option = {
1687
+ name = flavor_per.30.a
1688
+ add_opinion = {
1689
+ who = FROM
1690
+ modifier = zan_declined_embassy
1691
+ }
1692
+ add_adm_power = 100
1693
+ add_dip_power = 100
1694
+ add_mil_power = 100
1695
+ ai_chance = {
1696
+ factor = 1
1697
+ }
1698
+ }
1699
+ }
1700
+
1701
+ #End of the Embassies - Persia
1702
+ country_event = {
1703
+ id = flavor_per.31
1704
+ title = flavor_per.31.t
1705
+ desc = flavor_per.31.desc
1706
+ picture = COUNTRY_COLLAPSE_eventPicture
1707
+ is_triggered_only = yes
1708
+ major = yes
1709
+ option = {
1710
+ name = flavor_per.31.a
1711
+ event_target:persian_embassy_holder = {
1712
+ country_event = {
1713
+ id = flavor_per.32
1714
+ }
1715
+ remove_opinion = {
1716
+ who = root
1717
+ modifier = zan_has_embassy
1718
+ }
1719
+ }
1720
+ event_target:chinese_embassy_scope = {
1721
+ remove_province_triggered_modifier = per_chinese_embassy
1722
+ }
1723
+ ai_chance = {
1724
+ factor = 1
1725
+ }
1726
+ }
1727
+ after = {
1728
+ clr_global_flag = per_chinese_embassy
1729
+ clr_country_flag = has_chinese_embassy
1730
+ }
1731
+ }
1732
+
1733
+ #End of the Embassies - China
1734
+ country_event = {
1735
+ id = flavor_per.32
1736
+ title = flavor_per.31.t
1737
+ desc = flavor_per.31.desc
1738
+ picture = COUNTRY_COLLAPSE_eventPicture
1739
+ is_triggered_only = yes
1740
+ option = {
1741
+ name = flavor_per.31.a
1742
+ event_target:chinese_embassy_holder = {
1743
+ remove_opinion = {
1744
+ who = root
1745
+ modifier = zan_has_embassy
1746
+ }
1747
+ }
1748
+ event_target:persian_embassy_scope = {
1749
+ remove_province_triggered_modifier = per_persian_embassy
1750
+ }
1751
+ ai_chance = {
1752
+ factor = 1
1753
+ }
1754
+ }
1755
+ after = {
1756
+ clear_global_event_target = persian_embassy_scope
1757
+ clear_global_event_target = chinese_embassy_scope
1758
+ clear_global_event_target = persian_embassy_holder
1759
+ clear_global_event_target = chinese_embassy_holder
1760
+ clr_country_flag = has_persian_embassy
1761
+ }
1762
+ }
1763
+
1764
+ #Introduction - Shia
1765
+ country_event = {
1766
+ id = flavor_per.33
1767
+ title = flavor_per.13.t
1768
+ desc = flavor_per.13.d
1769
+ is_triggered_only = yes
1770
+ picture = RELIGION_eventPicture
1771
+ option = {
1772
+ name = flavor_per.13.a
1773
+ if = {
1774
+ limit = { NOT = { religion = shiite } }
1775
+ change_religion = shiite
1776
+ add_stability = -1
1777
+ }
1778
+ add_country_modifier = {
1779
+ name = per_shia_conversion_policy
1780
+ duration = 3650
1781
+ }
1782
+ set_country_flag = per_shiite_policies
1783
+ capital_scope = {
1784
+ if = {
1785
+ limit = { NOT = { religion = shiite } }
1786
+ change_religion = shiite
1787
+ }
1788
+ custom_tooltip = flavor_per.33.a.tt
1789
+ hidden_effect = {
1790
+ add_reform_center = shiite
1791
+ #province_event = {
1792
+ # id = flavor_per.3300
1793
+ # days = 18250
1794
+ #}
1795
+ }
1796
+ }
1797
+ if = {
1798
+ limit = { NOT = { unlocked_holy_order = { type = savafid_order } } has_dlc = "Golden Century" }
1799
+ unlock_holy_order = { type = savafid_order }
1800
+ }
1801
+ else = {
1802
+ add_mil_power = 100
1803
+ hidden_effect = { unlock_holy_order = { type = savafid_order } }
1804
+ }
1805
+ ai_chance = { factor = 1 }
1806
+ }
1807
+ }
1808
+ #Remove Center
1809
+ #province_event = {
1810
+ # id = flavor_per.3300
1811
+ # title = none
1812
+ # desc = none
1813
+ # picture = none
1814
+ # hidden = yes
1815
+ # is_triggered_only = yes
1816
+ # option = { remove_reform_center = shiite ai_chance = { factor = 1 } }
1817
+ #}
1818
+ #Introduction - Muslim
1819
+ country_event = {
1820
+ id = flavor_per.34
1821
+ title = flavor_per.34.t
1822
+ desc = flavor_per.34.desc
1823
+ picture = RELIGION_eventPicture
1824
+ is_triggered_only = yes
1825
+ option = {
1826
+ name = flavor_per.34.a
1827
+ if = {
1828
+ limit = { NOT = { religion_group = muslim } }
1829
+ change_religion = sunni
1830
+ set_ruler_religion = sunni
1831
+ if = {
1832
+ limit = { has_heir = yes }
1833
+ set_heir_religion = sunni
1834
+ }
1835
+ if = {
1836
+ limit = { has_consort = yes }
1837
+ set_consort_religion = sunni
1838
+ }
1839
+ capital_scope = {
1840
+ change_religion = sunni
1841
+ }
1842
+ }
1843
+ else = {
1844
+ change_piety_effect = { amount = 1 }
1845
+ add_estate_loyalty = {
1846
+ estate = estate_church
1847
+ loyalty = 10
1848
+ }
1849
+ }
1850
+ if = {
1851
+ limit = { has_country_flag = per_shia_missions }
1852
+ country_event = { id = flavor_per.33 }
1853
+ }
1854
+ if = {
1855
+ limit = { has_country_flag = per_sunni_missions }
1856
+ country_event = { id = flavor_per.55 }
1857
+ }
1858
+
1859
+ ai_chance = { factor = 1 }
1860
+ }
1861
+ }
1862
+ #Introduction - Zoroastrian
1863
+ country_event = {
1864
+ id = flavor_per.35
1865
+ title = flavor_per.35.t
1866
+ desc = flavor_per.35.desc
1867
+ picture = RELIGION_eventPicture
1868
+ is_triggered_only = yes
1869
+ option = {
1870
+ name = flavor_per.35.a
1871
+ if = {
1872
+ limit = { NOT = { religion_group = zoroastrian_group } }
1873
+ custom_tooltip = flavor_per.35.a.tt
1874
+ add_country_modifier = {
1875
+ name = zoroastrian_interests
1876
+ duration = -1
1877
+ }
1878
+ add_estate_influence_modifier = {
1879
+ estate = estate_church
1880
+ desc = ZOROASTRIAN_FOCUS_INFLUENCE
1881
+ influence = -20
1882
+ duration = 9125
1883
+ }
1884
+ }
1885
+ else = {
1886
+ change_estate_land_share = {
1887
+ estate = estate_church
1888
+ share = -5
1889
+ }
1890
+ }
1891
+ ai_chance = { factor = 1 }
1892
+ }
1893
+ }
1894
+ #The Aristocratic Split
1895
+ country_event = {
1896
+ id = flavor_per.36
1897
+ title = flavor_per.36.t
1898
+ desc = flavor_per.36.desc
1899
+ picture = GOOD_WITH_MONARCH_eventPicture
1900
+ is_triggered_only = yes
1901
+ option = {
1902
+ name = flavor_per.36.a
1903
+ unlock_government_reform = {
1904
+ government_reform = divided_aristocracy_reform
1905
+ }
1906
+ add_government_reform = divided_aristocracy_reform
1907
+ ai_chance = { factor = 1 }
1908
+ }
1909
+ option = {
1910
+ name = flavor_per.36.b
1911
+ unlock_government_reform = {
1912
+ government_reform = divided_aristocracy_reform
1913
+ }
1914
+ change_government_reform_progress = 50
1915
+ ai_chance = { factor = 0 }
1916
+ }
1917
+ }
1918
+
1919
+ #The Supreme Emerald Lion
1920
+ country_event = {
1921
+ id = flavor_per.37
1922
+ title = flavor_per.37.t
1923
+ desc = flavor_per.37.desc
1924
+ picture = CITY_VIEW_eventPicture
1925
+
1926
+ is_triggered_only = yes
1927
+
1928
+ #Expand its development
1929
+ option = {
1930
+ name = flavor_per.37.a
1931
+ add_prestige_or_monarch_power = { amount = 100 }
1932
+ add_permanent_power_projection = {
1933
+ type = 25_permanent_power_projection
1934
+ amount = 25
1935
+ }
1936
+ ai_chance = {
1937
+ factor = 1
1938
+ }
1939
+ }
1940
+ }
1941
+
1942
+ #Redecorating Constantinople
1943
+ country_event = {
1944
+ id = flavor_per.38
1945
+ title = flavor_per.38.t
1946
+ desc = flavor_per.38.desc
1947
+ picture = CITY_VIEW_eventPicture
1948
+
1949
+ is_triggered_only = yes
1950
+ immediate = {
1951
+ hidden_effect = {
1952
+ capital_scope = {
1953
+ save_event_target_as = capital
1954
+ }
1955
+ }
1956
+ }
1957
+
1958
+ #Expand its development
1959
+ option = {
1960
+ name = flavor_per.38.a
1961
+ goto = 151
1962
+ 151 = {
1963
+ if = {
1964
+ limit = { root = { has_country_flag = per_zoroastrian_missions } }
1965
+ change_province_name = "Kustantiniya"
1966
+ rename_capital = "Kustantiniya"
1967
+ }
1968
+ else = {
1969
+ change_province_name = "Konstantiniyyeh"
1970
+ rename_capital = "Konstantiniyyeh"
1971
+ }
1972
+ add_base_tax = 2
1973
+ add_base_production = 2
1974
+ add_base_manpower = 1
1975
+ add_province_modifier = {
1976
+ name = per_the_second_capital
1977
+ duration = -1
1978
+ }
1979
+ }
1980
+ ai_chance = {
1981
+ factor = 1
1982
+ }
1983
+ }
1984
+
1985
+ #Siphon its development
1986
+ option = {
1987
+ name = flavor_per.38.b
1988
+ goto = capital
1989
+ trigger = {
1990
+ NOT = { capital = 151 }
1991
+ }
1992
+ 151 = {
1993
+ if = {
1994
+ limit = { root = { has_country_flag = per_zoroastrian_missions } }
1995
+ change_province_name = "Kustantiniya"
1996
+ rename_capital = "Kustantiniya"
1997
+ }
1998
+ else = {
1999
+ change_province_name = "Konstantiniyyeh"
2000
+ rename_capital = "Konstantiniyyeh"
2001
+ }
2002
+ remove_base_development = { amount = 2 type = tax }
2003
+ remove_base_development = { amount = 2 type = production }
2004
+ remove_base_development = { amount = 1 type = manpower }
2005
+ }
2006
+ capital_scope = {
2007
+ add_base_tax = 4
2008
+ add_base_production = 4
2009
+ add_base_manpower = 3
2010
+ add_province_modifier = {
2011
+ name = per_arts_of_the_greeks_and_turks
2012
+ duration = -1
2013
+ }
2014
+ }
2015
+ ai_chance = {
2016
+ factor = 0
2017
+ }
2018
+ }
2019
+ }
2020
+
2021
+ #Turkish integration
2022
+ country_event = {
2023
+ id = flavor_per.39
2024
+ title = flavor_per.39.t
2025
+ desc = flavor_per.39.desc
2026
+ picture = {
2027
+ trigger = {
2028
+ has_dlc = "King of Kings"
2029
+ }
2030
+ picture = QIZILBASH_ESTATE_eventPicture
2031
+ }
2032
+ picture = {
2033
+ trigger = {
2034
+ not = { has_dlc = "King of Kings" }
2035
+ }
2036
+ picture = QIZILBASH_CAVALRY_CHARGING_eventPicture
2037
+ }
2038
+ is_triggered_only = yes
2039
+
2040
+ option = {
2041
+ name = flavor_per.39.a
2042
+ add_yearly_manpower = 3
2043
+ add_estate_loyalty = {
2044
+ estate = estate_qizilbash
2045
+ loyalty = 20
2046
+ }
2047
+ add_estate_influence_modifier = {
2048
+ estate = estate_qizilbash
2049
+ desc = TURKS_INTEGRATED_INTO_QIZILBASH
2050
+ influence = 20
2051
+ duration = 7300
2052
+ }
2053
+ custom_tooltip = flavor_per.39.a.tt
2054
+ hidden_effect = {
2055
+ every_owned_province = {
2056
+ limit = {
2057
+ culture = turkish
2058
+ }
2059
+ add_nationalism = -20
2060
+ add_local_autonomy = -20
2061
+ }
2062
+ }
2063
+ add_accepted_culture_or_dip_power = {
2064
+ culture = turkish
2065
+ free = yes
2066
+ }
2067
+ }
2068
+ option = {
2069
+ name = flavor_per.39.b
2070
+ add_yearly_manpower = 2
2071
+ add_estate_influence_modifier = {
2072
+ estate = estate_qizilbash
2073
+ desc = TURKS_FORBIDDEN_TO_JOIN_QIZILBASH
2074
+ influence = -10
2075
+ duration = 7300
2076
+ }
2077
+ add_accepted_culture_or_dip_power = {
2078
+ culture = turkish
2079
+ free = yes
2080
+ }
2081
+ }
2082
+ }
2083
+
2084
+ #Georgian Slaves in the Persian Empire
2085
+ country_event = {
2086
+ id = flavor_per.40
2087
+ title = flavor_per.40.t
2088
+ desc = flavor_per.40.desc
2089
+ picture = CITY_VIEW_eventPicture
2090
+
2091
+ is_triggered_only = yes
2092
+
2093
+ option = {
2094
+ name = flavor_per.40.a
2095
+ add_accepted_culture_or_dip_power = {
2096
+ culture = georgian
2097
+ free = yes
2098
+ new_line = yes
2099
+ }
2100
+ add_accepted_culture_or_dip_power = {
2101
+ culture = armenian
2102
+ free = yes
2103
+ }
2104
+ }
2105
+ }
2106
+
2107
+ #Sarkhej Roza and the City of Ahmedabad
2108
+ country_event = {
2109
+ id = flavor_per.41
2110
+ title = flavor_per.41.t
2111
+ desc = flavor_per.41.d
2112
+ picture = indiangfx_GREAT_BUILDING_eventPicture
2113
+ goto = 2054
2114
+ fire_only_once = yes
2115
+ trigger = {
2116
+ OR = {
2117
+ tag = PER
2118
+ tag = ERS
2119
+ }
2120
+ owns_core_province = 2054
2121
+ }
2122
+ mean_time_to_happen = {
2123
+ months = 12
2124
+ }
2125
+
2126
+ option = {
2127
+ name = flavor_per.41.a
2128
+
2129
+ 2054 = {
2130
+ add_base_tax = 1
2131
+ add_base_production = 2
2132
+ add_base_manpower = 2
2133
+ }
2134
+ 2054 = {
2135
+ if = {
2136
+ limit = { has_building = temple }
2137
+ remove_building = temple
2138
+ add_building = cathedral
2139
+ }
2140
+ add_province_modifier = {
2141
+ name = per_muzaffarid_centre_of_admin_modifier
2142
+ duration = -1
2143
+ }
2144
+ }
2145
+ }
2146
+ }
2147
+
2148
+ #Hindu Influences in the Persian Court
2149
+ #country_event = {
2150
+ # id = flavor_per.42
2151
+ # title = flavor_per.42.t
2152
+ # desc = flavor_per.42.d
2153
+ # picture = KING_OF_FOREIGN_CUSTOMS_eventPicture
2154
+ # is_triggered_only = yes
2155
+ #
2156
+ # option = {
2157
+ # name = flavor_per.42.a
2158
+ #
2159
+ # change_tag = MUG
2160
+ # hidden_effect = {
2161
+ # remove_non_electors_emperors_from_empire_effect = yes
2162
+ # set_government_rank = 3
2163
+ # set_country_flag = formed_mughal_empire_flag
2164
+ # set_country_flag = per_blend_with_mug_ideas_flag
2165
+ # }
2166
+ # 522 = {
2167
+ # add_base_tax = 1
2168
+ # add_base_production = 1
2169
+ # add_base_manpower = 1
2170
+ # }
2171
+ # add_prestige_or_monarch_power = { amount = 25 }
2172
+ # if = {
2173
+ # limit = {
2174
+ # NOT = { government = monarchy }
2175
+ # is_revolutionary = no
2176
+ # }
2177
+ # change_government_to_monarchy = yes
2178
+ # }
2179
+ # if = {
2180
+ # limit = {
2181
+ # has_dlc = "Dharma"
2182
+ # is_revolutionary = no
2183
+ # }
2184
+ # add_government_reform = indian_sultanate_reform
2185
+ # add_government_reform = mughal_government
2186
+ # }
2187
+ # if = {
2188
+ # limit = { has_reform = states_general_reform }
2189
+ # remove_government_reform = states_general_reform
2190
+ # }
2191
+ # if = {
2192
+ # limit = { has_unlocked_estate = { estate = estate_nomadic_tribes } }
2193
+ # disable_estate_effect = { estate = estate_nomadic_tribes }
2194
+ # }
2195
+ # if = {
2196
+ # limit = { has_unlocked_estate = { estate = estate_qizilbash } }
2197
+ # disable_estate_effect = { estate = estate_qizilbash }
2198
+ # }
2199
+ # if = {
2200
+ # limit = { has_unlocked_estate = { estate = estate_ghulams } }
2201
+ # disable_estate_effect = { estate = estate_ghulams }
2202
+ # }
2203
+ # country_event = { id = ideagroups.1 }
2204
+ # override_country_name = ERANA
2205
+ # set_country_flag = is_ERANA_flag
2206
+ # add_country_modifier = {
2207
+ # name = per_master_of_india_modifier
2208
+ # duration = -1
2209
+ # }
2210
+ # }
2211
+ #
2212
+ # option = {
2213
+ # name = flavor_per.42.b
2214
+ # add_dip_power = 200
2215
+ # add_stability_or_adm_power = yes
2216
+ # add_country_modifier = {
2217
+ # name = per_master_of_india_modifier
2218
+ # duration = -1
2219
+ # }
2220
+ # }
2221
+ #}
2222
+
2223
+ #The [Root.Culture.GetName] Influence
2224
+ country_event = {
2225
+ id = flavor_per.43
2226
+ title = flavor_per.43.t
2227
+ desc = flavor_per.43.desc
2228
+ picture = COURT_eventPicture
2229
+
2230
+ is_triggered_only = yes
2231
+
2232
+ option = {
2233
+ name = flavor_per.43.a
2234
+ if = {
2235
+ limit = { NOT = { government = monarchy } }
2236
+ change_government = monarchy
2237
+ }
2238
+ unlock_government_reform = { government_reform = court_of_art_and_culture_reform }
2239
+ add_government_reform = court_of_art_and_culture_reform
2240
+ ai_chance = { factor = 1 }
2241
+ }
2242
+
2243
+ option = {
2244
+ name = flavor_per.43.b
2245
+ custom_tooltip = flavor_per.43.b.tt
2246
+ unlock_government_reform = { government_reform = court_of_art_and_culture_reform }
2247
+ change_government_reform_progress = 50
2248
+ ai_chance = { factor = 0 }
2249
+ }
2250
+ }
2251
+
2252
+ #The Zoroastrianism Study
2253
+ country_event = {
2254
+ id = flavor_per.44
2255
+ title = flavor_per.44.t
2256
+ desc = flavor_per.44.desc
2257
+ picture = CITY_VIEW_eventPicture
2258
+ trigger = {
2259
+ has_country_modifier = zoroastrian_interests
2260
+ NOT = { has_country_flag = zoroastrian_study_event }
2261
+ NOT = { religion_group = zoroastrian_group }
2262
+ }
2263
+ mean_time_to_happen = {
2264
+ months = 24
2265
+ }
2266
+ immediate = {
2267
+ hidden_effect = {
2268
+ set_country_flag = zoroastrian_study_event
2269
+ }
2270
+ }
2271
+ option = {
2272
+ name = flavor_per.44.a
2273
+ custom_tooltip = flavor_per.44.a.tt
2274
+ add_estate_loyalty = {
2275
+ estate = estate_church
2276
+ loyalty = -15
2277
+ }
2278
+ add_piety = -0.2
2279
+ set_country_flag = promoted_zoroastrian_studies
2280
+ ai_chance = {
2281
+ factor = 1
2282
+ }
2283
+ }
2284
+ option = {
2285
+ name = flavor_per.44.b
2286
+ add_piety = 0.1
2287
+ ai_chance = {
2288
+ factor = 0
2289
+ }
2290
+ }
2291
+ }
2292
+
2293
+ #The Islamic Focus of Persia
2294
+ country_event = {
2295
+ id = flavor_per.45
2296
+ title = flavor_per.45.t
2297
+ desc = flavor_per.45.desc
2298
+ picture = CITY_VIEW_eventPicture
2299
+ is_triggered_only = yes
2300
+
2301
+ option = {
2302
+ name = flavor_per.18.a
2303
+ trigger = {
2304
+ OR = {
2305
+ has_country_flag = per_shia_missions
2306
+ has_country_flag = per_sunni_missions
2307
+ }
2308
+ }
2309
+ ai_chance = { factor = 0 }
2310
+ }
2311
+
2312
+ option = {
2313
+ name = flavor_per.45.b
2314
+ trigger = { NOT = { has_country_flag = per_shia_missions } }
2315
+ set_country_flag = per_shia_missions
2316
+ clr_country_flag = per_sunni_missions
2317
+ swap_non_generic_missions = yes
2318
+ custom_tooltip = per_preview_shia_missions
2319
+ ai_chance = { factor = 0 }
2320
+ }
2321
+
2322
+ option = {
2323
+ name = flavor_per.45.c
2324
+ trigger = { NOT = { has_country_flag = per_sunni_missions } }
2325
+ clr_country_flag = per_shia_missions
2326
+ set_country_flag = per_sunni_missions
2327
+ swap_non_generic_missions = yes
2328
+ custom_tooltip = per_preview_sunni_missions
2329
+ ai_chance = { factor = 0 }
2330
+ }
2331
+
2332
+ option = {
2333
+ name = flavor_per.18.e
2334
+ custom_tooltip = BYZ_nothing_will_occur
2335
+ ai_chance = {
2336
+ factor = 0
2337
+ }
2338
+ }
2339
+
2340
+ #AI section
2341
+ option = {
2342
+ trigger = { ai = yes }
2343
+ if = {
2344
+ limit = { religion = shiite }
2345
+ set_country_flag = per_shia_missions clr_country_flag = per_sunni_missions
2346
+ }
2347
+ else = {
2348
+ random_list = {
2349
+ 2 = { set_country_flag = per_shia_missions clr_country_flag = per_sunni_missions }
2350
+ 1 = { clr_country_flag = per_shia_missions set_country_flag = per_sunni_missions }
2351
+ }
2352
+ }
2353
+ swap_non_generic_missions = yes
2354
+ trigger_switch = {
2355
+ on_trigger = has_country_flag
2356
+ per_shia_missions = { country_event = { id = flavor_per.33 } }
2357
+ per_sunni_missions = { country_event = { id = flavor_per.55 } }
2358
+ }
2359
+ ai_chance = {
2360
+ factor = 100
2361
+ }
2362
+ }
2363
+ }
2364
+
2365
+ #Armenian Slaves in the Persian Empire
2366
+ country_event = {
2367
+ id = flavor_per.46
2368
+ title = flavor_per.46.t
2369
+ desc = flavor_per.46.d
2370
+ picture = {
2371
+ trigger = {
2372
+ has_dlc = "King of Kings"
2373
+ }
2374
+ picture = GHULAMS_ESTATE_eventPicture
2375
+ }
2376
+ picture = {
2377
+ trigger = {
2378
+ not = { has_dlc = "King of Kings" }
2379
+ }
2380
+ picture = MILITARY_CAMP_eventPicture
2381
+ }
2382
+ fire_only_once = yes
2383
+ trigger = {
2384
+ OR = {
2385
+ tag = PER
2386
+ AND = {
2387
+ tag = ARL
2388
+ NOT = { exists = PER }
2389
+ }
2390
+ AND = {
2391
+ tag = ERS
2392
+ NOT = { exists = ARL }
2393
+ NOT = { exists = PER }
2394
+ }
2395
+ }
2396
+ num_of_owned_provinces_with = {
2397
+ culture = armenian
2398
+ value = 5
2399
+ }
2400
+ }
2401
+ immediate = {
2402
+ hidden_effect = {
2403
+ capital_scope = {
2404
+ save_event_target_as = capital
2405
+ }
2406
+ }
2407
+ }
2408
+ option = {
2409
+ name = flavor_per.46.a
2410
+ goto = capital
2411
+ add_yearly_manpower = 0.2
2412
+ add_country_modifier = {
2413
+ name = per_sponsorship_of_christian_armenians_modifier
2414
+ duration = 9125
2415
+ }
2416
+ capital_scope = {
2417
+ area = {
2418
+ limit = {
2419
+ religion = ROOT
2420
+ culture = ROOT
2421
+ owned_by = ROOT
2422
+ }
2423
+ add_random_development = 2
2424
+ }
2425
+ }
2426
+ ai_chance = { factor = 0.75 }
2427
+ }
2428
+
2429
+ option = {
2430
+ name = flavor_per.46.b
2431
+ add_stability_or_adm_power = yes
2432
+ add_country_modifier = {
2433
+ name = per_elitist_caste_modifier
2434
+ duration = 9125
2435
+ }
2436
+ if = {
2437
+ limit = { has_estate = estate_qizilbash }
2438
+ add_estate_loyalty = {
2439
+ estate = estate_qizilbash
2440
+ loyalty = 15
2441
+ }
2442
+ }
2443
+ ai_chance = { factor = 0.25 }
2444
+ }
2445
+ }
2446
+
2447
+ #Rise of [Root.GetName]
2448
+ country_event = {
2449
+ id = flavor_per.47
2450
+ title = flavor_per.47.t
2451
+ desc = flavor_per.47.d
2452
+ picture = GOOD_WITH_MONARCH_eventPicture
2453
+
2454
+ is_triggered_only = yes
2455
+
2456
+ #We truly surpassed Cyrus the Great.
2457
+ option = {
2458
+ name = flavor_per.47.a
2459
+ add_prestige_or_monarch_power = { amount = 100 }
2460
+ add_permanent_power_projection = {
2461
+ type = 25_permanent_power_projection
2462
+ amount = 25
2463
+ }
2464
+ ai_chance = {
2465
+ factor = 1
2466
+ }
2467
+ }
2468
+ }
2469
+
2470
+ #Mamlukian Administration
2471
+ country_event = {
2472
+ id = flavor_per.48
2473
+ title = flavor_per.48.t
2474
+ desc = flavor_per.48.d
2475
+ picture = OVEREXTENSION_eventPicture
2476
+ is_triggered_only = yes
2477
+
2478
+ option = {
2479
+ name = flavor_per.48.a
2480
+ unlock_estate_privilege = {
2481
+ estate_privilege = estate_nobles_mamlukian_administration
2482
+ modifier_tooltip = estate_nobles_mamlukian_administration_tooltip
2483
+ effect_tooltip = "
2484
+ custom_tooltip = mamlukian_administration_modifier_gt
2485
+ tooltip = {
2486
+ add_province_modifier = {
2487
+ name = mamlukian_administration_modifier
2488
+ duration = -1
2489
+ }
2490
+ }
2491
+ "
2492
+ }
2493
+ unlock_estate_privilege = { estate_privilege = estate_qizilbash_mamlukian_administration }
2494
+ unlock_estate_privilege = { estate_privilege = estate_ghulams_mamlukian_administration }
2495
+ }
2496
+ }
2497
+
2498
+ #Turkmen Recruits Flock to the Banners
2499
+ country_event = {
2500
+ id = flavor_per.49
2501
+ title = flavor_per.49.t
2502
+ desc = flavor_per.49.d
2503
+ picture = {
2504
+ picture = QIZILBASH_ESTATE_eventPicture
2505
+ trigger = {
2506
+ has_dlc = "King of Kings"
2507
+ }
2508
+ }
2509
+ picture = {
2510
+ picture = MAMLUK_WARRIORS_eventPicture
2511
+ trigger = {
2512
+ not = { has_dlc = "King of Kings" }
2513
+ }
2514
+ }
2515
+ fire_only_once = yes
2516
+ trigger = {
2517
+ OR = {
2518
+ tag = PER
2519
+ tag = ERS
2520
+ }
2521
+ north_kurdistan_area = {
2522
+ owned_by = root
2523
+ type = all
2524
+ }
2525
+ erzurum_area = {
2526
+ owned_by = root
2527
+ type = all
2528
+ }
2529
+ al_jazira_area = {
2530
+ owned_by = root
2531
+ type = all
2532
+ }
2533
+ }
2534
+ mean_time_to_happen = {
2535
+ months = 12
2536
+ }
2537
+
2538
+ option = {
2539
+ name = flavor_per.49.a
2540
+ north_kurdistan_area = {
2541
+ add_province_modifier = {
2542
+ name = per_turkmen_recruits_modifier
2543
+ duration = 9125
2544
+ }
2545
+ add_base_manpower = 1
2546
+ add_local_autonomy = -10
2547
+ add_nationalism = -10
2548
+ }
2549
+ erzurum_area = {
2550
+ add_province_modifier = {
2551
+ name = per_turkmen_recruits_modifier
2552
+ duration = 9125
2553
+ }
2554
+ add_base_manpower = 1
2555
+ add_local_autonomy = -10
2556
+ add_nationalism = -10
2557
+ }
2558
+ al_jazira_area = {
2559
+ add_province_modifier = {
2560
+ name = per_turkmen_recruits_modifier
2561
+ duration = 9125
2562
+ }
2563
+ add_base_manpower = 1
2564
+ add_local_autonomy = -10
2565
+ add_nationalism = -10
2566
+ }
2567
+ if = {
2568
+ limit = { has_estate = estate_qizilbash }
2569
+ add_estate_loyalty = {
2570
+ estate = estate_qizilbash
2571
+ loyalty = 15
2572
+ }
2573
+ }
2574
+ }
2575
+ }
2576
+
2577
+ #Al Quds as-Sharif
2578
+ country_event = {
2579
+ id = flavor_per.50
2580
+ title = flavor_per.50.t
2581
+ desc = flavor_per.50.d
2582
+ picture = BYZ_JERUSALEM_eventPicture
2583
+ fire_only_once = yes
2584
+ goto = 379
2585
+ trigger = {
2586
+ OR = {
2587
+ tag = PER
2588
+ tag = ERS
2589
+ }
2590
+ owns_core_province = 379
2591
+ OR = {
2592
+ religion_group = muslim
2593
+ religion_group = christian
2594
+ religion_group = jewish_group
2595
+ }
2596
+ }
2597
+ mean_time_to_happen = {
2598
+ months = 12
2599
+ }
2600
+ option = {
2601
+ name = flavor_per.50.a
2602
+
2603
+ add_ruler_modifier = {
2604
+ name = per_powerful_religious_doctrine_modifier
2605
+ duration = -1
2606
+ }
2607
+ 379 = {
2608
+ add_base_tax = 3
2609
+ add_base_production = 3
2610
+ add_base_manpower = 4
2611
+ }
2612
+ }
2613
+ }
2614
+
2615
+ #Victory in Egypt
2616
+ country_event = {
2617
+ id = flavor_per.51
2618
+ title = flavor_per.51.t
2619
+ desc = flavor_per.51.d
2620
+ picture = BIG_ARABIAN_CITY_eventPicture
2621
+ fire_only_once = yes
2622
+ trigger = {
2623
+ OR = {
2624
+ tag = PER
2625
+ tag = ERS
2626
+ }
2627
+ owns_or_non_sovereign_subject_of = 361
2628
+ NOT = { has_country_modifier = per_triumph_in_cairo_modifier }
2629
+ }
2630
+ mean_time_to_happen = {
2631
+ months = 12
2632
+ }
2633
+
2634
+ option = {
2635
+ name = flavor_per.51.a
2636
+ add_prestige_or_monarch_power = { amount = 20 }
2637
+ add_country_modifier = {
2638
+ name = per_triumph_in_cairo_modifier
2639
+ duration = 7300
2640
+ }
2641
+ }
2642
+ }
2643
+
2644
+ #Legacy of the Delhi Empire
2645
+ country_event = {
2646
+ id = flavor_per.52
2647
+ title = flavor_per.52.t
2648
+ desc = flavor_per.52.d
2649
+ picture = 13_Maratha_Estate_eventPicture
2650
+
2651
+ is_triggered_only = yes
2652
+
2653
+ option = {
2654
+ name = flavor_per.52.a
2655
+ add_adm_power = 75
2656
+ add_permanent_claim_multi_provinces = { target = northern_sindh_area }
2657
+ add_permanent_claim_multi_provinces = { target = sindh_area }
2658
+ add_permanent_claim_multi_provinces = { target = jangladesh_area }
2659
+ add_permanent_claim_multi_provinces = { target = marwar_area }
2660
+ add_permanent_claim_multi_provinces = { target = patan_area }
2661
+ add_permanent_claim_multi_provinces = { target = saurashtra_area }
2662
+ add_permanent_claim_multi_provinces = { target = jaipur_area }
2663
+ }
2664
+ }
2665
+
2666
+ #Wealth of Bengal
2667
+ country_event = {
2668
+ id = flavor_per.53
2669
+ title = flavor_per.53.t
2670
+ desc = flavor_per.53.d
2671
+ picture = SULTAN_AND_MERCHANT_eventPicture
2672
+ fire_only_once = yes
2673
+ trigger = {
2674
+ OR = {
2675
+ tag = PER
2676
+ tag = ERS
2677
+ }
2678
+ 1343 = {
2679
+ is_strongest_trade_power = root
2680
+ }
2681
+ any_owned_province = {
2682
+ region = bengal_region
2683
+ is_in_capital_area = yes
2684
+ }
2685
+ }
2686
+ mean_time_to_happen = {
2687
+ months = 24
2688
+ }
2689
+
2690
+ option = {
2691
+ name = flavor_per.53.a
2692
+
2693
+ add_country_modifier = {
2694
+ name = per_continental_trading_modifier
2695
+ duration = 9125
2696
+ }
2697
+ add_mercantilism = 5
2698
+ }
2699
+ }
2700
+
2701
+ #The New Persian Horse
2702
+ country_event = {
2703
+ id = flavor_per.54
2704
+ title = flavor_per.54.t
2705
+ desc = flavor_per.54.d
2706
+ picture = QIZILBASH_CAVALRY_CHARGING_eventPicture
2707
+
2708
+ is_triggered_only = yes
2709
+
2710
+ option = {
2711
+ name = flavor_per.54.a
2712
+
2713
+ custom_tooltip = per_based_on_our_movement_speed_tt
2714
+ if = {
2715
+ limit = {
2716
+ has_global_modifier_value = {
2717
+ which = movement_speed
2718
+ value = 0.3
2719
+ }
2720
+ }
2721
+ custom_tooltip = per_very_swift_horses_tt
2722
+ hidden_effect = {
2723
+ add_country_modifier = {
2724
+ name = per_swift_horses_modifier
2725
+ duration = -1
2726
+ }
2727
+ }
2728
+ }
2729
+ else_if = {
2730
+ limit = {
2731
+ has_global_modifier_value = {
2732
+ which = movement_speed
2733
+ value = 0.15
2734
+ }
2735
+ }
2736
+ custom_tooltip = per_nimble_horses_tt
2737
+ hidden_effect = {
2738
+ add_country_modifier = {
2739
+ name = per_swift_horses2_modifier
2740
+ duration = -1
2741
+ }
2742
+ }
2743
+ }
2744
+ else = {
2745
+ custom_tooltip = per_fast_horses_tt
2746
+ hidden_effect = {
2747
+ add_country_modifier = {
2748
+ name = per_swift_horses3_modifier
2749
+ duration = -1
2750
+ }
2751
+ }
2752
+ }
2753
+ custom_tooltip = per_based_on_our_discipline_tt
2754
+ if = {
2755
+ limit = {
2756
+ has_global_modifier_value = {
2757
+ which = discipline
2758
+ value = 0.30
2759
+ }
2760
+ }
2761
+ custom_tooltip = per_iron_discipline_horses_tt
2762
+ hidden_effect = {
2763
+ add_country_modifier = {
2764
+ name = per_mount_discipline_modifier
2765
+ duration = -1
2766
+ }
2767
+ }
2768
+ }
2769
+ else = {
2770
+ custom_tooltip = per_disciplined_horses_tt
2771
+ hidden_effect = {
2772
+ add_country_modifier = {
2773
+ name = per_mount_discipline2_modifier
2774
+ duration = -1
2775
+ }
2776
+ }
2777
+ }
2778
+ custom_tooltip = per_based_on_horse_provinces_tt
2779
+ if = {
2780
+ limit = {
2781
+ num_of_owned_provinces_with = {
2782
+ trade_goods = livestock
2783
+ value = 4
2784
+ }
2785
+ trading_bonus = {
2786
+ trade_goods = livestock
2787
+ value = yes
2788
+ }
2789
+ }
2790
+ custom_tooltip = per_blooming_abundance_of_horses_tt
2791
+ hidden_effect = {
2792
+ add_country_modifier = {
2793
+ name = per_horse_population_boom_modifier
2794
+ duration = -1
2795
+ }
2796
+ }
2797
+ }
2798
+ else_if = {
2799
+ limit = {
2800
+ num_of_owned_provinces_with = {
2801
+ trade_goods = livestock
2802
+ value = 3
2803
+ }
2804
+ }
2805
+ custom_tooltip = per_abundance_of_horses_tt
2806
+ hidden_effect = {
2807
+ add_country_modifier = {
2808
+ name = per_horse_population_boom2_modifier
2809
+ duration = -1
2810
+ }
2811
+ }
2812
+ }
2813
+ else = {
2814
+ custom_tooltip = per_horse_population_steady_increase_tt
2815
+ hidden_effect = {
2816
+ add_country_modifier = {
2817
+ name = per_horse_population_boom4_modifier
2818
+ duration = -1
2819
+ }
2820
+ }
2821
+ }
2822
+ custom_tooltip = per_based_on_cav_combat_ability_tt
2823
+ if = {
2824
+ limit = {
2825
+ has_global_modifier_value = {
2826
+ which = cavalry_power
2827
+ value = 0.6
2828
+ }
2829
+ }
2830
+ custom_tooltip = per_expanded_use_of_fire_arms_tt
2831
+ hidden_effect = {
2832
+ add_country_modifier = {
2833
+ name = per_firearm_charge_modifier
2834
+ duration = -1
2835
+ }
2836
+ }
2837
+ }
2838
+ else = {
2839
+ custom_tooltip = per_partial_use_of_fire_arms_tt
2840
+ hidden_effect = {
2841
+ add_country_modifier = {
2842
+ name = per_firearm_charge2_modifier
2843
+ duration = -1
2844
+ }
2845
+ }
2846
+ }
2847
+ if = {
2848
+ limit = {
2849
+ OR = {
2850
+ any_ally = { has_estate = estate_cossacks }
2851
+ any_subject_country = { has_estate = estate_cossacks }
2852
+ }
2853
+ }
2854
+ custom_tooltip = per_host_of_cossack_commanders_capital_tt
2855
+ hidden_effect = {
2856
+ capital_scope = { cossack_cavalry = ROOT }
2857
+ capital_scope = { cossack_cavalry = ROOT }
2858
+ capital_scope = { cossack_cavalry = ROOT }
2859
+ capital_scope = { cossack_cavalry = ROOT }
2860
+ capital_scope = { cossack_cavalry = ROOT }
2861
+ capital_scope = { cossack_cavalry = ROOT }
2862
+ }
2863
+ }
2864
+ }
2865
+ }
2866
+
2867
+ #Introduction - Sunni
2868
+ country_event = {
2869
+ id = flavor_per.55
2870
+ title = flavor_per.55.t
2871
+ desc = flavor_per.55.desc
2872
+ is_triggered_only = yes
2873
+ picture = RELIGION_eventPicture
2874
+ option = {
2875
+ name = flavor_per.55.a
2876
+ if = {
2877
+ limit = { OR = { NOT = { religion_group = muslim } } religion = shiite }
2878
+ change_religion = sunni
2879
+ add_stability = -1
2880
+ }
2881
+ else = {
2882
+ add_estate_loyalty = {
2883
+ estate = estate_church
2884
+ loyalty = 10
2885
+ }
2886
+ }
2887
+ add_country_modifier = {
2888
+ name = per_sunni_conversion_policy
2889
+ duration = 3650
2890
+ }
2891
+ clr_country_flag = per_shiite_policies
2892
+ if = {
2893
+ limit = { capital_scope = { OR = { NOT = { religion_group = muslim } } religion = shiite } }
2894
+ capital_scope = { change_religion = sunni }
2895
+ }
2896
+ if = {
2897
+ limit = { NOT = { unlocked_holy_order = { type = zahediyeh_order } } has_dlc = "Golden Century" }
2898
+ unlock_holy_order = { type = zahediyeh_order }
2899
+ }
2900
+ else = {
2901
+ add_dip_power = 100
2902
+ }
2903
+ ai_chance = { factor = 1 }
2904
+ }
2905
+ }
2906
+
2907
+ #The End of the Timurid Dynasty
2908
+ country_event = {
2909
+ id = flavor_per.56
2910
+ title = flavor_per.56.t
2911
+ desc = flavor_per.56.d
2912
+ picture = KING_OF_FOREIGN_CUSTOMS_eventPicture
2913
+ trigger = {
2914
+ OR = {
2915
+ tag = PER
2916
+ tag = ERS
2917
+ }
2918
+ NOT = { dynasty = "Timurid" }
2919
+ NOT = { was_tag = TIM }
2920
+ NOT = { was_tag = KHO }
2921
+ NOT = { was_tag = AFG }
2922
+ NOT = { was_tag = SIS }
2923
+ NOT = { was_tag = TRS }
2924
+ NOT = { was_tag = FRS }
2925
+ NOT = { was_tag = QOM }
2926
+ khorasan_region = {
2927
+ country_or_non_sovereign_subject_holds = root
2928
+ type = all
2929
+ }
2930
+ }
2931
+ fire_only_once = yes
2932
+ mean_time_to_happen = {
2933
+ months = 2
2934
+ }
2935
+ option = {
2936
+ name = flavor_per.56.a
2937
+
2938
+ khorasan_region = {
2939
+ limit = { country_or_non_sovereign_subject_holds = ROOT }
2940
+ add_province_modifier = {
2941
+ name = per_persian_reign_modifier
2942
+ duration = 7300
2943
+ }
2944
+ }
2945
+ custom_tooltip = flavor_per.56.a.tt
2946
+ hidden_effect = {
2947
+ random_owned_province = {
2948
+ limit = { region = khorasan_region }
2949
+ add_random_development = 1
2950
+ }
2951
+ random_owned_province = {
2952
+ limit = { region = khorasan_region }
2953
+ add_random_development = 1
2954
+ }
2955
+ random_owned_province = {
2956
+ limit = { region = khorasan_region }
2957
+ add_random_development = 1
2958
+ }
2959
+ random_owned_province = {
2960
+ limit = { region = khorasan_region }
2961
+ add_random_development = 1
2962
+ }
2963
+ random_owned_province = {
2964
+ limit = { region = khorasan_region }
2965
+ add_random_development = 1
2966
+ }
2967
+ }
2968
+ }
2969
+ }
2970
+
2971
+ #A Zoroastrian Prophet appears!
2972
+ country_event = {
2973
+ id = flavor_per.57
2974
+ title = flavor_per.57.t
2975
+ desc = flavor_per.57.desc
2976
+ picture = RELIGIOUS_CONVERSION_eventPicture
2977
+ trigger = {
2978
+ has_country_modifier = zoroastrian_interests
2979
+ has_country_flag = promoted_zoroastrian_studies
2980
+ NOT = { religion_group = zoroastrian_group }
2981
+ any_owned_province = {
2982
+ is_state = yes
2983
+ religion = root
2984
+ }
2985
+ }
2986
+ mean_time_to_happen = {
2987
+ months = 60
2988
+ }
2989
+ immediate = {
2990
+ hidden_effect = {
2991
+ clr_country_flag = promoted_zoroastrian_studies
2992
+ random_owned_province = {
2993
+ limit = {
2994
+ is_state = yes
2995
+ religion = root
2996
+ }
2997
+ save_event_target_as = target_province
2998
+ }
2999
+ }
3000
+ }
3001
+ #Hire this man!
3002
+ option = {
3003
+ name = flavor_per.57.a
3004
+ goto = target_province
3005
+ custom_tooltip = flavor_per.57.a.tt
3006
+ set_country_flag = invited_zoroastrian_prophet
3007
+ add_estate_loyalty = {
3008
+ estate = estate_church
3009
+ loyalty = -20
3010
+ }
3011
+ event_target:target_province = {
3012
+ spawn_province_religious_rebels = { size = 2 }
3013
+ }
3014
+ add_piety = -0.2
3015
+ ai_chance = {
3016
+ factor = 1
3017
+ }
3018
+ }
3019
+ #Let him be
3020
+ option = {
3021
+ name = flavor_per.57.b
3022
+ goto = target_province
3023
+ custom_tooltip = flavor_per.57.b.tt
3024
+ set_country_flag = let_zoroastrian_prophet_be
3025
+ add_estate_loyalty = {
3026
+ estate = estate_church
3027
+ loyalty = -10
3028
+ }
3029
+ event_target:target_province = {
3030
+ spawn_province_religious_rebels = { size = 1 }
3031
+ }
3032
+ add_piety = -0.1
3033
+ ai_chance = {
3034
+ factor = 1
3035
+ }
3036
+ }
3037
+ #Persecute this man!
3038
+ option = {
3039
+ name = flavor_per.57.c
3040
+ random_list = {
3041
+ 3 = {
3042
+ custom_tooltip = flavor_per.57.c.at
3043
+ }
3044
+ 1 = {
3045
+ custom_tooltip = flavor_per.57.c.bt
3046
+ set_country_flag = persecuted_zoroastrian_prophet
3047
+ }
3048
+ }
3049
+ add_estate_loyalty = {
3050
+ estate = estate_church
3051
+ loyalty = 10
3052
+ }
3053
+ add_piety = 0.2
3054
+ ai_chance = {
3055
+ factor = 0
3056
+ }
3057
+ }
3058
+ }
3059
+
3060
+ #Prophet in the Royal Court
3061
+ country_event = {
3062
+ id = flavor_per.58
3063
+ title = flavor_per.58.t
3064
+ desc = flavor_per.58.desc
3065
+ picture = RELIGIOUS_CONVERSION_eventPicture
3066
+ trigger = {
3067
+ has_country_modifier = zoroastrian_interests
3068
+ has_country_flag = invited_zoroastrian_prophet
3069
+ NOT = { religion_group = zoroastrian_group }
3070
+ any_owned_province = {
3071
+ religion = root
3072
+ is_state = yes
3073
+ }
3074
+ }
3075
+ mean_time_to_happen = {
3076
+ months = 6
3077
+ }
3078
+ immediate = {
3079
+ hidden_effect = {
3080
+ clr_country_flag = invited_zoroastrian_prophet
3081
+ random_owned_province = {
3082
+ limit = {
3083
+ religion = root
3084
+ is_state = yes
3085
+ }
3086
+ save_event_target_as = target_province
3087
+ }
3088
+ }
3089
+ }
3090
+
3091
+ #Keep him at the court
3092
+ option = {
3093
+ name = flavor_per.58.a
3094
+ goto = target_province
3095
+ custom_tooltip = flavor_per.58.a.tt
3096
+ set_country_flag = hired_zoroastrian_prophet
3097
+ set_ruler_religion = zoroastrian
3098
+ event_target:target_province = {
3099
+ spawn_province_religious_rebels = { size = 2 }
3100
+ }
3101
+ add_estate_loyalty = {
3102
+ estate = estate_church
3103
+ loyalty = -15
3104
+ }
3105
+ ai_chance = {
3106
+ factor = 1
3107
+ }
3108
+ }
3109
+
3110
+ #Banish him from the court
3111
+ option = {
3112
+ name = flavor_per.58.b
3113
+ goto = target_province
3114
+ custom_tooltip = flavor_per.58.b.tt
3115
+ random_list = {
3116
+ 4 = { custom_tooltip = flavor_per.58.b.at set_country_flag = let_zoroastrian_prophet_be }
3117
+ 1 = { custom_tooltip = flavor_per.58.b.bt }
3118
+ }
3119
+ add_estate_loyalty = {
3120
+ estate = estate_church
3121
+ loyalty = 5
3122
+ }
3123
+ ai_chance = {
3124
+ factor = 1
3125
+ }
3126
+ }
3127
+ }
3128
+
3129
+ #The Two Rivers of the Fertile Crescent
3130
+ country_event = {
3131
+ id = flavor_per.59
3132
+ title = flavor_per.59.t
3133
+ desc = flavor_per.59.d
3134
+ picture = COLONIZATION_eventPicture
3135
+ fire_only_once = yes
3136
+ trigger = {
3137
+ OR = {
3138
+ tag = PER
3139
+ tag = ERS
3140
+ }
3141
+ iraq_arabi_area = {
3142
+ country_or_non_sovereign_subject_holds = root
3143
+ type = all
3144
+ }
3145
+ al_jazira_area = {
3146
+ country_or_non_sovereign_subject_holds = root
3147
+ type = all
3148
+ }
3149
+ basra_area = {
3150
+ country_or_non_sovereign_subject_holds = root
3151
+ type = all
3152
+ }
3153
+ }
3154
+ mean_time_to_happen = {
3155
+ months = 60
3156
+ }
3157
+
3158
+ option = {
3159
+ name = flavor_per.59.a
3160
+ 1335 = {
3161
+ add_trade_modifier = {
3162
+ who = ROOT
3163
+ duration = 7300
3164
+ power = 50
3165
+ key = per_persian_basra_modifier
3166
+ }
3167
+ }
3168
+ add_mercantilism_or_monarch_power = { amount = 2 }
3169
+ }
3170
+ }
3171
+
3172
+ #Guardians of the Strait
3173
+ country_event = {
3174
+ id = flavor_per.60
3175
+ title = flavor_per.60.t
3176
+ desc = flavor_per.60.d
3177
+ picture = HARBOUR_eventPicture
3178
+ fire_only_once = yes
3179
+ trigger = {
3180
+ OR = {
3181
+ tag = PER
3182
+ tag = ERS
3183
+ }
3184
+ NOT = { exists = ORM }
3185
+ pirate_coast_area = {
3186
+ owned_by = root
3187
+ type = all
3188
+ }
3189
+ mogostan_area = {
3190
+ owned_by = root
3191
+ type = all
3192
+ }
3193
+ mascat_area = {
3194
+ owned_by = root
3195
+ type = all
3196
+ }
3197
+ oman_area = {
3198
+ owned_by = root
3199
+ type = all
3200
+ }
3201
+ }
3202
+ mean_time_to_happen = {
3203
+ months = 24
3204
+ }
3205
+
3206
+ option = {
3207
+ name = flavor_per.60.a
3208
+
3209
+ ai_chance = {
3210
+ factor = 0.5
3211
+
3212
+ modifier = {
3213
+ factor = 0
3214
+ NOT = { num_of_free_diplomatic_relations = 1 }
3215
+ }
3216
+ }
3217
+
3218
+ pirate_coast_area = {
3219
+ limit = {
3220
+ NOT = { is_core = ORM }
3221
+ owned_by = ROOT
3222
+ }
3223
+ add_core = ORM
3224
+ }
3225
+ mogostan_area = {
3226
+ limit = {
3227
+ NOT = { is_core = ORM }
3228
+ owned_by = ROOT
3229
+ }
3230
+ add_core = ORM
3231
+ }
3232
+ mascat_area = {
3233
+ limit = {
3234
+ NOT = { is_core = ORM }
3235
+ owned_by = ROOT
3236
+ }
3237
+ add_core = ORM
3238
+ }
3239
+ oman_area = {
3240
+ limit = {
3241
+ NOT = { is_core = ORM }
3242
+ owned_by = ROOT
3243
+ }
3244
+ add_core = ORM
3245
+ }
3246
+ release = ORM
3247
+ ORM = {
3248
+ change_government = monarchy
3249
+ add_government_reform = feudalism_reform
3250
+ change_religion = ROOT
3251
+ }
3252
+ vassalize = ORM
3253
+ ORM = {
3254
+ add_country_modifier = {
3255
+ name = per_naval_command_modifier
3256
+ duration = -1
3257
+ }
3258
+ }
3259
+ }
3260
+
3261
+ option = {
3262
+ name = flavor_per.60.b
3263
+
3264
+ ai_chance = { factor = 0.5 }
3265
+
3266
+ pirate_coast_area = {
3267
+ add_province_modifier = {
3268
+ name = per_kingdom_of_hormuz_province_modifier
3269
+ duration = 7300
3270
+ }
3271
+ }
3272
+ mogostan_area = {
3273
+ add_province_modifier = {
3274
+ name = per_kingdom_of_hormuz_province_modifier
3275
+ duration = 7300
3276
+ }
3277
+ }
3278
+ mascat_area = {
3279
+ add_province_modifier = {
3280
+ name = per_kingdom_of_hormuz_province_modifier
3281
+ duration = 7300
3282
+ }
3283
+ }
3284
+ }
3285
+ }
3286
+
3287
+ #Chinese Blue-and-White Porcelains
3288
+ country_event = {
3289
+ id = flavor_per.61
3290
+ title = flavor_per.61.t
3291
+ desc = flavor_per.61.d
3292
+ picture = IMPERIAL_SEAL_eventPicture
3293
+ fire_only_once = yes
3294
+ trigger = {
3295
+ OR = {
3296
+ tag = PER
3297
+ tag = ERS
3298
+ }
3299
+ any_ally = {
3300
+ capital_scope = {
3301
+ superregion = china_superregion
3302
+ }
3303
+ technology_group = chinese
3304
+ }
3305
+ }
3306
+ mean_time_to_happen = {
3307
+ months = 24
3308
+ }
3309
+
3310
+ option = {
3311
+ name = flavor_per.61.a
3312
+
3313
+ add_country_modifier = {
3314
+ name = per_royal_porcelain_collection_modifier
3315
+ duration = 9125
3316
+ }
3317
+ random_ally = {
3318
+ limit = {
3319
+ capital_scope = {
3320
+ superregion = china_superregion
3321
+ }
3322
+ technology_group = chinese
3323
+ }
3324
+ add_country_modifier = {
3325
+ name = per_porcelain_exports_to_the_west_modifier
3326
+ duration = 7300
3327
+ }
3328
+ }
3329
+ change_ruler_stat = {
3330
+ type = dip
3331
+ amount = 1
3332
+ }
3333
+ }
3334
+ }
3335
+
3336
+ #Zoroastrianism within the Court
3337
+ country_event = {
3338
+ id = flavor_per.62
3339
+ title = flavor_per.62.t
3340
+ desc = flavor_per.62.desc
3341
+ picture = RELIGIOUS_CONVERSION_eventPicture
3342
+ trigger = {
3343
+ has_country_modifier = zoroastrian_interests
3344
+ has_country_flag = zoroastrian_study_event
3345
+ NOT = { religion_group = zoroastrian_group }
3346
+ NOT = { has_country_flag = zoroastrian_court_event }
3347
+ }
3348
+ mean_time_to_happen = {
3349
+ months = 120
3350
+ modifier = {
3351
+ factor = 0.1
3352
+ has_country_flag = hired_zoroastrian_prophet
3353
+ }
3354
+ }
3355
+ immediate = {
3356
+ hidden_effect = {
3357
+ set_country_flag = zoroastrian_court_event
3358
+ }
3359
+ }
3360
+ option = {
3361
+ name = flavor_per.62.a
3362
+ custom_tooltip = flavor_per.62.a.tt
3363
+ set_country_flag = zoroastrian_nobility
3364
+ add_estate_loyalty = {
3365
+ estate = estate_nobles
3366
+ loyalty = 10
3367
+ }
3368
+ add_estate_loyalty = {
3369
+ estate = estate_church
3370
+ loyalty = -15
3371
+ }
3372
+ add_piety = -0.2
3373
+ set_country_flag = promoted_zoroastrian_studies
3374
+ ai_chance = {
3375
+ factor = 1
3376
+ }
3377
+ }
3378
+ option = {
3379
+ name = flavor_per.62.b
3380
+ add_stability_or_adm_power = yes
3381
+ add_estate_loyalty = {
3382
+ estate = estate_nobles
3383
+ loyalty = -10
3384
+ }
3385
+ add_estate_loyalty = {
3386
+ estate = estate_church
3387
+ loyalty = 15
3388
+ }
3389
+ add_piety = 0.1
3390
+ ai_chance = {
3391
+ factor = 0
3392
+ }
3393
+ }
3394
+ }
3395
+
3396
+ #The [Root.Religion.GetName] revolution against the [Root.GovernmentName]
3397
+ country_event = {
3398
+ id = flavor_per.63
3399
+ title = flavor_per.63.t
3400
+ desc = flavor_per.63.desc
3401
+ picture = RELIGIOUS_CONVERSION_eventPicture
3402
+ trigger = {
3403
+ has_country_modifier = zoroastrian_interests
3404
+ has_country_flag = zoroastrian_study_event
3405
+ NOT = { religion_group = zoroastrian_group }
3406
+ has_country_flag = zoroastrian_court_event
3407
+ NOT = { has_country_flag = zoroastrian_opposition_revolution_event }
3408
+ }
3409
+ mean_time_to_happen = {
3410
+ months = 30
3411
+ modifier = {
3412
+ factor = 0.1
3413
+ NOT = { estate_loyalty = { estate = estate_church loyalty = 30 } }
3414
+ }
3415
+ }
3416
+ immediate = {
3417
+ hidden_effect = {
3418
+ set_country_flag = zoroastrian_opposition_revolution_event
3419
+ random_owned_province = {
3420
+ limit = {
3421
+ is_state = yes
3422
+ }
3423
+ save_event_target_as = target_province_1
3424
+ }
3425
+ random_owned_province = {
3426
+ limit = {
3427
+ is_state = yes
3428
+ }
3429
+ save_event_target_as = target_province_2
3430
+ }
3431
+ random_owned_province = {
3432
+ limit = {
3433
+ is_state = yes
3434
+ }
3435
+ save_event_target_as = target_province_3
3436
+ }
3437
+ }
3438
+ }
3439
+ #Crush these revolutionaries
3440
+ option = {
3441
+ name = flavor_per.63.a
3442
+ custom_tooltip = flavor_per.63.a.tt
3443
+ set_country_flag = zoroastrian_civil_war_event
3444
+ add_stability = -2
3445
+ add_estate_loyalty = {
3446
+ estate = estate_church
3447
+ loyalty = -100
3448
+ }
3449
+ event_target:target_province_1 = {
3450
+ spawn_country_religious_rebels = { size = 3 }
3451
+ }
3452
+ event_target:target_province_2 = {
3453
+ spawn_country_religious_rebels = { size = 2 }
3454
+ }
3455
+ event_target:target_province_3 = {
3456
+ spawn_country_religious_rebels = { size = 2 }
3457
+ }
3458
+ if = {
3459
+ limit = { has_country_flag = zoroastrian_nobility }
3460
+ custom_tooltip = flavor_per.63.a.at
3461
+ add_yearly_manpower = 3
3462
+ create_general = {
3463
+ tradition = 100
3464
+ }
3465
+ }
3466
+ if = {
3467
+ limit = { has_country_flag = hired_zoroastrian_prophet }
3468
+ custom_tooltip = flavor_per.63.a.bt
3469
+ add_country_modifier = {
3470
+ name = zoroastrian_prophet_inspiration
3471
+ duration = 3650
3472
+ }
3473
+ }
3474
+ ai_chance = {
3475
+ factor = 1
3476
+ }
3477
+ }
3478
+ #Oblige to the Clergy
3479
+ option = {
3480
+ name = flavor_per.63.b
3481
+ remove_country_modifier = zoroastrian_interests
3482
+ every_owned_province = {
3483
+ limit = { religion = zoroastrian }
3484
+ change_religion = root
3485
+ }
3486
+ custom_tooltip = flavor_per.63.b.at
3487
+ if = {
3488
+ limit = { has_mission = per_our_religious_direction }
3489
+ clr_country_flag = per_zoroastrian_missions
3490
+ if = {
3491
+ limit = { religion = shiite }
3492
+ set_country_flag = per_shia_missions
3493
+ }
3494
+ else = {
3495
+ set_country_flag = per_sunni_missions
3496
+ }
3497
+ custom_tooltip = flavor_per.63.b.bt
3498
+ swap_non_generic_missions = yes
3499
+ }
3500
+ add_estate_loyalty = {
3501
+ estate = estate_church
3502
+ loyalty = 50
3503
+ }
3504
+ if = {
3505
+ limit = { ruler_religion = zoroastrian }
3506
+ set_ruler_religion = root
3507
+ }
3508
+ if = {
3509
+ limit = { heir_religion = zoroastrian }
3510
+ set_heir_religion = root
3511
+ }
3512
+ if = {
3513
+ limit = { consort_religion = zoroastrian }
3514
+ set_consort_religion = root
3515
+ }
3516
+ add_piety = 2
3517
+ ai_chance = {
3518
+ factor = 0
3519
+ }
3520
+ }
3521
+ }
3522
+
3523
+ #[Root.GetName] breaks to the Revolution
3524
+ country_event = {
3525
+ id = flavor_per.64
3526
+ title = flavor_per.64.t
3527
+ desc = flavor_per.64.desc
3528
+ picture = COUNTRY_COLLAPSE_eventPicture
3529
+ is_triggered_only = yes
3530
+ trigger = {
3531
+ has_country_flag = zoroastrian_civil_war_event
3532
+ }
3533
+ immediate = {
3534
+ hidden_effect = {
3535
+ clr_country_flag = zoroastrian_civil_war_event
3536
+ }
3537
+ }
3538
+ #Oblige to the Clergy
3539
+ option = {
3540
+ name = flavor_per.64.a
3541
+ remove_country_modifier = zoroastrian_interests
3542
+ every_owned_province = {
3543
+ limit = { religion = zoroastrian }
3544
+ change_religion = root
3545
+ }
3546
+ custom_tooltip = flavor_per.63.b.at
3547
+ if = {
3548
+ limit = { has_mission = per_our_religious_direction }
3549
+ clr_country_flag = per_zoroastrian_missions
3550
+ if = {
3551
+ limit = { religion = shiite }
3552
+ set_country_flag = per_shia_missions
3553
+ }
3554
+ else = {
3555
+ set_country_flag = per_sunni_missions
3556
+ }
3557
+ custom_tooltip = flavor_per.63.b.bt
3558
+ swap_non_generic_missions = yes
3559
+ }
3560
+ kill_ruler = yes
3561
+ kill_heir = { allow_new_heir = no }
3562
+ change_government = theocracy
3563
+ add_government_reform = feudal_theocracy
3564
+ add_piety = 2
3565
+ add_stability = -2
3566
+ ai_chance = {
3567
+ factor = 0
3568
+ }
3569
+ }
3570
+ }
3571
+
3572
+ #[Root.GetName] crushes the revolution
3573
+ country_event = {
3574
+ id = flavor_per.65
3575
+ title = flavor_per.65.t
3576
+ desc = flavor_per.65.desc
3577
+ picture = COUNTRY_COLLAPSE_eventPicture
3578
+ trigger = {
3579
+ has_country_modifier = zoroastrian_interests
3580
+ has_country_flag = zoroastrian_civil_war_event
3581
+ has_country_flag = zoroastrian_opposition_revolution_event
3582
+ NOT = { has_country_flag = zoroastrian_civil_war_aftermath }
3583
+ NOT = { num_of_rebel_armies = 1 }
3584
+ NOT = { num_of_rebel_controlled_provinces = 1 }
3585
+ }
3586
+ immediate = {
3587
+ hidden_effect = {
3588
+ clr_country_flag = zoroastrian_civil_war_event
3589
+ clr_country_flag = zoroastrian_opposition_revolution_event
3590
+ set_country_flag = zoroastrian_civil_war_aftermath
3591
+ }
3592
+ }
3593
+ mean_time_to_happen = {
3594
+ months = 1
3595
+ }
3596
+ #
3597
+ option = {
3598
+ name = flavor_per.65.a
3599
+ change_religion = zoroastrian
3600
+ add_government_reform = zoroastrian_persian_government_reform
3601
+ add_estate_influence_modifier = {
3602
+ estate = estate_church
3603
+ desc = AFTERMATH_OF_CLERICAL_CIVIL_WAR
3604
+ influence = -50
3605
+ duration = 9125
3606
+ }
3607
+ ai_chance = {
3608
+ factor = 1
3609
+ }
3610
+ }
3611
+ }
3612
+
3613
+ #Zoroastrian Identity
3614
+ country_event = {
3615
+ id = flavor_per.66
3616
+ title = flavor_per.66.t
3617
+ desc = flavor_per.66.desc
3618
+ picture = GOOD_WITH_MONARCH_eventPicture
3619
+ trigger = {
3620
+ OR = {
3621
+ tag = PER
3622
+ tag = ERS
3623
+ }
3624
+ religion_group = zoroastrian_group
3625
+ NOT = { has_country_flag = has_eranshahr_moment }
3626
+ }
3627
+ immediate = {
3628
+ hidden_effect = {
3629
+ set_country_flag = has_eranshahr_moment
3630
+ }
3631
+ }
3632
+ mean_time_to_happen = {
3633
+ months = 1
3634
+ }
3635
+ #Embrace the Eranshahr Identity
3636
+ option = {
3637
+ name = flavor_per.66.a
3638
+ #override_country_name = ERANSHAHR_STRING
3639
+ #set_country_flag = is_ERANSHAHR_flag
3640
+ #change_country_color = { color = { 101 46 137 } }
3641
+ #set_country_flag = has_overriden_name_flag
3642
+ #set_country_flag = has_overriden_color_flag
3643
+ #hidden_effect = { set_country_flag = eranshahr_ideas }
3644
+ change_tag = ERS
3645
+ on_change_tag_effect = yes
3646
+ country_event = {
3647
+ id = ideagroups.1
3648
+ }
3649
+ ai_chance = {
3650
+ factor = 1
3651
+ }
3652
+ }
3653
+ #We are still Persia. And we shall as such be remembered.
3654
+ option = {
3655
+ name = flavor_per.66.b
3656
+ add_prestige = 10
3657
+ ai_chance = {
3658
+ factor = 0
3659
+ }
3660
+ }
3661
+ }
3662
+
3663
+ #Abbas I Safavid
3664
+ country_event = {
3665
+ id = flavor_per.67
3666
+ title = flavor_per.67.t
3667
+ desc = flavor_per.67.d
3668
+ picture = HEIR_AND_FOREIGN_ADVISOR_eventPicture
3669
+ fire_only_once = yes
3670
+ trigger = {
3671
+ OR = {
3672
+ tag = PER
3673
+ tag = ERS
3674
+ }
3675
+ is_year = 1550
3676
+ NOT = { is_year = 1650 }
3677
+ government = monarchy
3678
+ OR = {
3679
+ has_heir = no
3680
+ NOT = {
3681
+ heir_total_stats = {
3682
+ amount = 15
3683
+ }
3684
+ }
3685
+ }
3686
+ }
3687
+
3688
+ mean_time_to_happen = {
3689
+ months = 60
3690
+ }
3691
+
3692
+ option = {
3693
+ name = flavor_per.67.a
3694
+ define_heir = {
3695
+ name = "Abbas"
3696
+ dynasty = ROOT
3697
+ claim = 95
3698
+ male = yes
3699
+ adm = 6
3700
+ dip = 5
3701
+ mil = 6
3702
+ age = 15
3703
+ }
3704
+ hidden_effect = {
3705
+ if = {
3706
+ limit = { has_dlc = "Rights of Man" }
3707
+ add_heir_personality = architectural_visionary_personality
3708
+ }
3709
+ set_heir_flag = per_abbas_lives_flag
3710
+ }
3711
+ }
3712
+
3713
+ option = {
3714
+ name = flavor_per.67.b
3715
+ add_prestige = 15
3716
+ add_stability_or_adm_power = yes
3717
+ }
3718
+ }
3719
+
3720
+ #Abbas I's Expansion of Isfahan
3721
+ country_event = {
3722
+ id = flavor_per.68
3723
+ title = flavor_per.68.t
3724
+ desc = flavor_per.68.d
3725
+ picture = CITY_DEVELOPMENT_eventPicture
3726
+ fire_only_once = yes
3727
+
3728
+ trigger = {
3729
+ OR = {
3730
+ tag = PER
3731
+ tag = ERS
3732
+ }
3733
+ has_ruler_flag = per_abbas_lives_flag
3734
+ 429 = { is_capital_of = ROOT }
3735
+ }
3736
+
3737
+ mean_time_to_happen = {
3738
+ months = 12
3739
+ }
3740
+
3741
+ option = {
3742
+ name = flavor_per.68.a
3743
+ add_persian_and_zoroastrian_influence = { value = 10 }
3744
+ 429 = {
3745
+ add_province_modifier = {
3746
+ name = per_urban_planning_of_shah_abbas_modifier
3747
+ duration = 5475
3748
+ }
3749
+ add_base_manpower = 1
3750
+ add_base_production = 1
3751
+ }
3752
+ }
3753
+ }
3754
+
3755
+ #Prophet becomes proper part of the court
3756
+ country_event = {
3757
+ id = flavor_per.69
3758
+ title = flavor_per.69.t
3759
+ desc = flavor_per.69.desc
3760
+ picture = COURT_eventPicture
3761
+ trigger = {
3762
+ has_country_flag = hired_zoroastrian_prophet
3763
+ religion = zoroastrian
3764
+ }
3765
+ mean_time_to_happen = {
3766
+ months = 26
3767
+ }
3768
+ immediate = {
3769
+ hidden_effect = {
3770
+ clr_country_flag = hired_zoroastrian_prophet
3771
+ random_owned_province = {
3772
+ limit = {
3773
+ NOT = { religion = root }
3774
+ is_state = yes
3775
+ is_in_capital_area = yes
3776
+ }
3777
+ save_event_target_as = zoroastrian_center_of_conversion
3778
+ }
3779
+ }
3780
+ }
3781
+ option = {
3782
+ name = flavor_per.69.a
3783
+ goto = zoroastrian_center_of_conversion
3784
+ hire_advisor = {
3785
+ type = theologian
3786
+ religion = root
3787
+ culture = root
3788
+ min_age = 35
3789
+ max_age = 50
3790
+ skill = 3
3791
+ cost_multiplier = 0.25
3792
+ }
3793
+ add_country_modifier = {
3794
+ name = zoroastrian_prophet_in_the_court
3795
+ duration = -1
3796
+ desc = UNTIL_ADVISOR_REMOVAL
3797
+ }
3798
+ if = {
3799
+ limit = {
3800
+ has_saved_event_target = zoroastrian_center_of_conversion
3801
+ 1 = {
3802
+ NOT = {
3803
+ check_variable = {
3804
+ which = zoroastrian_reform_center_counter
3805
+ value = 3
3806
+ }
3807
+ }
3808
+ }
3809
+ }
3810
+ event_target:zoroastrian_center_of_conversion = {
3811
+ change_religion = zoroastrian
3812
+ add_reform_center = zoroastrian
3813
+ #custom_tooltip = flavor_per.69.a.tt
3814
+ #hidden_effect = {
3815
+ # province_event = {
3816
+ # id = flavor_per.6900
3817
+ # days = 18250
3818
+ # }
3819
+ #}
3820
+ }
3821
+ hidden_effect = {
3822
+ 1 = {
3823
+ change_variable = {
3824
+ which = zoroastrian_reform_center_counter
3825
+ value = 1
3826
+ }
3827
+ }
3828
+ }
3829
+ }
3830
+ ai_chance = {
3831
+ factor = 1
3832
+ }
3833
+ }
3834
+ }
3835
+ #province_event = {
3836
+ # id = flavor_per.6900
3837
+ # title = none
3838
+ # desc = none
3839
+ # picture = none
3840
+ # hidden = yes
3841
+ # is_triggered_only = yes
3842
+ # option = {
3843
+ # remove_reform_center = zoroastrian
3844
+ # ai_chance = {
3845
+ # factor = 1
3846
+ # }
3847
+ # }
3848
+ #}
3849
+
3850
+ #The Prophet of the streets
3851
+ country_event = {
3852
+ id = flavor_per.70
3853
+ title = flavor_per.70.t
3854
+ desc = {
3855
+ desc = flavor_per.70.desc.a
3856
+ trigger = { religion = zoroastrian }
3857
+ }
3858
+ desc = {
3859
+ desc = flavor_per.70.desc.b
3860
+ trigger = { NOT = { religion = zoroastrian } }
3861
+ }
3862
+ picture = RELIGION_eventPicture
3863
+ trigger = {
3864
+ has_country_flag = let_zoroastrian_prophet_be
3865
+ any_owned_province = {
3866
+ NOT = { religion = zoroastrian }
3867
+ is_state = yes
3868
+ is_in_capital_area = yes
3869
+ }
3870
+ }
3871
+ mean_time_to_happen = { months = 48 }
3872
+ goto = zoroastrian_center_of_conversion
3873
+ immediate = {
3874
+ hidden_effect = {
3875
+ clr_country_flag = let_zoroastrian_prophet_be
3876
+ random_owned_province = {
3877
+ limit = {
3878
+ NOT = { religion = zoroastrian }
3879
+ is_state = yes
3880
+ is_in_capital_area = yes
3881
+ }
3882
+ save_event_target_as = zoroastrian_center_of_conversion
3883
+ }
3884
+ }
3885
+ }
3886
+ option = {
3887
+ name = flavor_per.70.a
3888
+ if = {
3889
+ limit = { NOT = { religion = zoroastrian } }
3890
+ add_estate_loyalty = {
3891
+ estate = estate_church
3892
+ loyalty = -20
3893
+ }
3894
+ }
3895
+ event_target:zoroastrian_center_of_conversion = {
3896
+ change_religion = zoroastrian
3897
+ add_reform_center = zoroastrian
3898
+ custom_tooltip = flavor_per.69.a.tt
3899
+ #hidden_effect = {
3900
+ # province_event = {
3901
+ # id = flavor_per.6900
3902
+ # days = 18250
3903
+ # }
3904
+ #}
3905
+ }
3906
+ ai_chance = {
3907
+ factor = 1
3908
+ }
3909
+ }
3910
+ }
3911
+
3912
+ #The Prophet returns with an army
3913
+ country_event = {
3914
+ id = flavor_per.71
3915
+ title = flavor_per.71.t
3916
+ desc = {
3917
+ desc = flavor_per.71.desc.a
3918
+ trigger = { religion = zoroastrian }
3919
+ }
3920
+ desc = {
3921
+ desc = flavor_per.71.desc.b
3922
+ trigger = { NOT = { religion = zoroastrian } }
3923
+ }
3924
+ picture = RELIGIOUS_TURMOIL_eventPicture
3925
+ trigger = {
3926
+ has_country_flag = persecuted_zoroastrian_prophet
3927
+ any_owned_province = {
3928
+ NOT = { religion = zoroastrian }
3929
+ is_state = yes
3930
+ is_in_capital_area = yes
3931
+ }
3932
+ }
3933
+ mean_time_to_happen = { months = 60 }
3934
+ goto = revolt_province
3935
+ immediate = {
3936
+ hidden_effect = {
3937
+ clr_country_flag = persecuted_zoroastrian_prophet
3938
+ random_owned_province = {
3939
+ limit = {
3940
+ NOT = { religion = zoroastrian }
3941
+ is_state = yes
3942
+ is_in_capital_area = yes
3943
+ }
3944
+ save_event_target_as = revolt_province
3945
+ }
3946
+ set_saved_name = {
3947
+ key = zoroastrian_prophet
3948
+ type = leader
3949
+ }
3950
+ }
3951
+ }
3952
+ option = {
3953
+ name = flavor_per.71.a
3954
+ event_target:revolt_province = {
3955
+ change_religion = zoroastrian
3956
+ spawn_rebels = {
3957
+ leader = zoroastrian_prophet
3958
+ type = zoroastrian_rebels
3959
+ size = 2
3960
+ win = yes
3961
+ }
3962
+ }
3963
+ ai_chance = {
3964
+ factor = 1
3965
+ }
3966
+ }
3967
+ option = {
3968
+ name = flavor_per.71.b
3969
+ trigger = {
3970
+ religion = zoroastrian
3971
+ }
3972
+ add_stability = -3
3973
+ kill_ruler = yes
3974
+ if = {
3975
+ limit = { has_heir = yes }
3976
+ kill_heir = {
3977
+ allow_new_heir = no
3978
+ }
3979
+ }
3980
+ change_government = theocracy
3981
+ add_government_reform = zoroastrian_theocracy_reform
3982
+ define_ruler = {
3983
+ name = zoroastrian_prophet
3984
+ religion = zoroastrian
3985
+ culture = root
3986
+ change_adm = 1
3987
+ change_dip = 1
3988
+ change_mil = 1
3989
+ min_age = 35
3990
+ max_age = 50
3991
+ }
3992
+ event_target:revolt_province = {
3993
+ change_religion = zoroastrian
3994
+ add_reform_center = zoroastrian
3995
+ custom_tooltip = flavor_per.69.a.tt
3996
+ #hidden_effect = {
3997
+ # province_event = {
3998
+ # id = flavor_per.6900
3999
+ # days = 18250
4000
+ # }
4001
+ #}
4002
+ }
4003
+ ai_chance = {
4004
+ factor = 1
4005
+ }
4006
+ }
4007
+ }
4008
+
4009
+ #[Root.GetName] joins the [root.religion.getname] community
4010
+ country_event = {
4011
+ id = flavor_per.72
4012
+ title = flavor_per.72.t
4013
+ desc = flavor_per.72.desc
4014
+ picture = DIPLOMACY_eventPicture
4015
+ is_triggered_only = yes
4016
+ option = {
4017
+ name = flavor_per.72.a
4018
+ custom_tooltip = flavor_per.72.a.tt
4019
+ hidden_effect = {
4020
+ every_known_country = {
4021
+ limit = { religion_group = zoroastrian_group }
4022
+ add_opinion = {
4023
+ who = root
4024
+ modifier = converted_to_zoroastrian
4025
+ }
4026
+ }
4027
+ }
4028
+ ai_chance = {
4029
+ factor = 1
4030
+ }
4031
+ }
4032
+ }
4033
+
4034
+ #Shahnameh of Shah $RULER$
4035
+ country_event = {
4036
+ id = flavor_per.76
4037
+ title = flavor_per.76.t
4038
+ desc = flavor_per.76.d
4039
+ picture = BIG_BOOK_eventPicture
4040
+ fire_only_once = yes
4041
+
4042
+ trigger = {
4043
+ is_year = 1482
4044
+ if = {
4045
+ limit = { NOT = { exists = PER } NOT = { exists = ERS } }
4046
+ tag = ARL
4047
+ }
4048
+ else = {
4049
+ OR = {
4050
+ tag = PER
4051
+ tag = ERS
4052
+ }
4053
+ }
4054
+ total_development = 200
4055
+ artist = 2
4056
+ }
4057
+ mean_time_to_happen = {
4058
+ months = 36
4059
+ }
4060
+
4061
+ option = {
4062
+ name = flavor_per.76.a
4063
+
4064
+ add_ruler_modifier = {
4065
+ name = per_shahnameh_modifier
4066
+ duration = -1
4067
+ }
4068
+ add_persian_and_zoroastrian_influence = { value = 20 }
4069
+ }
4070
+ }
4071
+
4072
+ #Rise of the Persian Arquebus
4073
+ country_event = {
4074
+ id = flavor_per.77
4075
+ title = flavor_per.77.t
4076
+ desc = flavor_per.77.d
4077
+ picture = {
4078
+ picture = GHULAMS_ESTATE_DEMANDS_eventPicture
4079
+ trigger = {
4080
+ has_dlc = "King of Kings"
4081
+ }
4082
+ }
4083
+ picture = {
4084
+ picture = CIVIL_WAR_eventPicture
4085
+ trigger = {
4086
+ not = { has_dlc = "King of Kings" }
4087
+ }
4088
+ }
4089
+ fire_only_once = yes
4090
+ trigger = {
4091
+ is_year = 1600
4092
+ NOT = { is_year = 1675 }
4093
+ OR = {
4094
+ tag = PER
4095
+ tag = ERS
4096
+ }
4097
+ }
4098
+
4099
+ mean_time_to_happen = {
4100
+ months = 120
4101
+ }
4102
+
4103
+ option = {
4104
+ name = flavor_per.77.a
4105
+
4106
+ add_country_modifier = {
4107
+ name = per_persian_arquebusiers_modifier
4108
+ duration = 7300
4109
+ }
4110
+ if = {
4111
+ limit = { has_dlc = "Cradle of Civilization" }
4112
+ add_army_professionalism = 0.05
4113
+ }
4114
+ else = { add_army_tradition = 10 }
4115
+ }
4116
+ }
4117
+
4118
+ #The Arrival of the Shirley Brothers
4119
+ country_event = {
4120
+ id = flavor_per.78
4121
+ title = flavor_per.78.t
4122
+ desc = flavor_per.78.d
4123
+ picture = GENERALS_DISCUSSING_eventPicture
4124
+ fire_only_once = yes
4125
+
4126
+ trigger = {
4127
+ OR = {
4128
+ tag = PER
4129
+ tag = ERS
4130
+ }
4131
+ has_ruler_flag = per_abbas_lives_flag
4132
+ NOT = { is_year = 1628 }
4133
+ OR = {
4134
+ knows_country = ENG
4135
+ knows_country = GBR
4136
+ knows_country = AVE
4137
+ }
4138
+ OR = {
4139
+ army_professionalism = 0.6
4140
+ army_tradition = 80
4141
+ is_year = 1590
4142
+ }
4143
+ }
4144
+
4145
+ mean_time_to_happen = {
4146
+ months = 120
4147
+ }
4148
+
4149
+ option = {
4150
+ name = flavor_per.78.a
4151
+
4152
+ if = {
4153
+ limit = { has_dlc = "Cradle of Civilization" }
4154
+ add_country_modifier = {
4155
+ name = per_shirley_reforms_the_army1_modifier
4156
+ duration = 7300
4157
+ }
4158
+ }
4159
+ else = {
4160
+ add_country_modifier = {
4161
+ name = per_shirley_reforms_the_army2_modifier
4162
+ duration = 7300
4163
+ }
4164
+ }
4165
+ define_advisor = {
4166
+ name = "Robert Shirley"
4167
+ culture = english
4168
+ religion = anglican
4169
+ type = army_reformer
4170
+ skill = 3
4171
+ cost_multiplier = 0.25
4172
+ }
4173
+ }
4174
+ }
4175
+
4176
+ country_event = {
4177
+ id = flavor_per.79
4178
+ title = flavor_per.79.t
4179
+ desc = flavor_per.79.d
4180
+ picture = CIVIL_WAR_eventPicture
4181
+ fire_only_once = yes
4182
+
4183
+ is_triggered_only = yes
4184
+
4185
+ option = {
4186
+ name = flavor_per.79.a
4187
+
4188
+ define_heir = {
4189
+ name = "Ismail"
4190
+ dynasty = ROOT
4191
+ age = 15
4192
+ adm = 5
4193
+ dip = 6
4194
+ mil = 5
4195
+ }
4196
+ hidden_effect = {
4197
+ if = {
4198
+ limit = { has_dlc = "Rights of Man" }
4199
+ add_heir_personality = conqueror_personality
4200
+ add_heir_personality = zealot_personality
4201
+ }
4202
+ }
4203
+ ai_chance = {
4204
+ factor = 1
4205
+ }
4206
+ }
4207
+
4208
+ option = {
4209
+ name = flavor_per.79.b
4210
+
4211
+ define_advisor = {
4212
+ name = "Ismail"
4213
+ type = statesman
4214
+ skill = 3
4215
+ cost_multiplier = 0.1
4216
+ }
4217
+ add_adm_power = 50
4218
+ add_dip_power = 50
4219
+ add_mil_power = 50
4220
+ ai_chance = {
4221
+ factor = 0
4222
+ }
4223
+ }
4224
+
4225
+ option = {
4226
+ name = flavor_per.79.c
4227
+ define_general = {
4228
+ name = "Ismail"
4229
+ shock = 5
4230
+ fire = 5
4231
+ manuever = 5
4232
+ siege = 3
4233
+ }
4234
+ add_army_tradition = 10
4235
+ if = {
4236
+ limit = { has_dlc = "Cradle of Civilization" }
4237
+ add_army_professionalism = 0.05
4238
+ }
4239
+ ai_chance = {
4240
+ factor = 0
4241
+ }
4242
+ }
4243
+ }
events/FlavorRUS.txt CHANGED
@@ -2006,7 +2006,7 @@ country_event = {
2006
2006
  factor = 0
2007
2007
  NOT = {
2008
2008
  ruler_total_stats = {
2009
- stats = 15
2009
+ amount = 15
2010
2010
  }
2011
2011
  }
2012
2012
  }
@@ -2024,7 +2024,7 @@ country_event = {
2024
2024
  modifier = {
2025
2025
  factor = 0
2026
2026
  ruler_total_stats = {
2027
- stats = 15
2027
+ amount = 15
2028
2028
  }
2029
2029
  }
2030
2030
  modifier = {
@@ -4136,6 +4136,12 @@ country_event = {
4136
4136
  loyalty = 25
4137
4137
  }
4138
4138
  }
4139
+ event_target:revolt_province = {
4140
+ spawn_rebels = {
4141
+ type = anti_tax_rebels
4142
+ size = 2
4143
+ }
4144
+ }
4139
4145
  ai_chance = {
4140
4146
  factor = 10
4141
4147
  }
events/FlavorSPA.txt CHANGED
@@ -241,7 +241,7 @@ country_event = {
241
241
  name = "flavor_spa.EVTOPTA3150"
242
242
  define_advisor = {
243
243
  type = inquisitor
244
- name = "Tomás de Torquemada"
244
+ name = "Tom�s de Torquemada"
245
245
  location = 215 # Castilla La Vieja
246
246
  discount = yes
247
247
  skill = 1
@@ -606,7 +606,7 @@ country_event = {
606
606
  }
607
607
 
608
608
 
609
- # Casa de Contratación
609
+ # Casa de Contrataci�n
610
610
  country_event = {
611
611
  id = flavor_spa.1003
612
612
  title = "flavor_spa.EVTNAME1003"
@@ -1414,7 +1414,7 @@ country_event = {
1414
1414
  }
1415
1415
  }
1416
1416
 
1417
- # Tomás Luis de Victoria
1417
+ # Tom�s Luis de Victoria
1418
1418
  country_event = {
1419
1419
  id = flavor_spa.1101
1420
1420
  title = "flavor_spa.EVTNAME1101"
@@ -1642,7 +1642,7 @@ country_event = {
1642
1642
 
1643
1643
 
1644
1644
 
1645
- option = { # Allow Sepúlveda's arguments to shape our policies
1645
+ option = { # Allow Sep�lveda's arguments to shape our policies
1646
1646
  name = "flavor_spa.2.a"
1647
1647
  ai_chance = {
1648
1648
  factor = 15
@@ -1923,7 +1923,7 @@ country_event = {
1923
1923
  }
1924
1924
  }
1925
1925
 
1926
- # Sólo Madrid es corte
1926
+ # S�lo Madrid es corte
1927
1927
  country_event = {
1928
1928
  id = flavor_spa.6
1929
1929
  title = "flavor_spa.6.t"
@@ -2905,6 +2905,9 @@ country_event = { # End of the Infantes
2905
2905
  picture = GOOD_WITH_MONARCH_eventPicture
2906
2906
  fire_only_once = yes
2907
2907
  is_triggered_only = yes
2908
+ immediate = {
2909
+ on_non_estate_disaster_end = yes
2910
+ }
2908
2911
 
2909
2912
  option = {
2910
2913
  name = flavor_spa.20.a
@@ -2962,7 +2965,7 @@ country_event = { #The Spanish Dollar
2962
2965
  }
2963
2966
 
2964
2967
  change_ruler_stat = {
2965
- stat = adm
2968
+ type = adm
2966
2969
  amount = 1
2967
2970
  }
2968
2971
 
events/FlavorTUR.txt CHANGED
@@ -2811,6 +2811,8 @@ country_event = {
2811
2811
  skill = 2
2812
2812
  cost_multiplier = 0.25
2813
2813
  }
2814
+ custom_tooltip = flavor_tur.204.a.tt
2815
+ set_country_flag = tur_pierces_through_constantinople
2814
2816
  ai_chance = {
2815
2817
  factor = 1
2816
2818
  }
@@ -3158,6 +3160,7 @@ country_event = {
3158
3160
  add_core = event_target:first_potential_eyalet
3159
3161
  }
3160
3162
  }
3163
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3161
3164
  release = event_target:first_potential_eyalet
3162
3165
  create_subject = {
3163
3166
  subject_type = eyalet
@@ -3216,6 +3219,7 @@ country_event = {
3216
3219
  add_core = event_target:second_potential_eyalet
3217
3220
  }
3218
3221
  }
3222
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3219
3223
  release = event_target:second_potential_eyalet
3220
3224
  create_subject = {
3221
3225
  subject_type = eyalet
@@ -3262,6 +3266,7 @@ country_event = {
3262
3266
  add_core = event_target:third_potential_eyalet
3263
3267
  }
3264
3268
  }
3269
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3265
3270
  release = event_target:third_potential_eyalet
3266
3271
  create_subject = {
3267
3272
  subject_type = eyalet
@@ -3574,6 +3579,7 @@ country_event = {
3574
3579
  limit = { owned_by = ROOT }
3575
3580
  add_core = event_target:first_potential_eyalet
3576
3581
  }
3582
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3577
3583
  release = event_target:first_potential_eyalet
3578
3584
  create_subject = {
3579
3585
  subject_type = eyalet
@@ -3634,6 +3640,7 @@ country_event = {
3634
3640
  limit = { owned_by = ROOT }
3635
3641
  add_core = event_target:second_potential_eyalet
3636
3642
  }
3643
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3637
3644
  release = event_target:second_potential_eyalet
3638
3645
  create_subject = {
3639
3646
  subject_type = eyalet
@@ -3694,6 +3701,7 @@ country_event = {
3694
3701
  limit = { owned_by = ROOT }
3695
3702
  add_core = event_target:third_potential_eyalet
3696
3703
  }
3704
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3697
3705
  release = event_target:third_potential_eyalet
3698
3706
  create_subject = {
3699
3707
  subject_type = eyalet
@@ -3754,6 +3762,7 @@ country_event = {
3754
3762
  limit = { owned_by = ROOT }
3755
3763
  add_core = event_target:fourth_potential_eyalet
3756
3764
  }
3765
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3757
3766
  release = event_target:fourth_potential_eyalet
3758
3767
  create_subject = {
3759
3768
  subject_type = eyalet
@@ -3814,6 +3823,7 @@ country_event = {
3814
3823
  limit = { owned_by = ROOT }
3815
3824
  add_core = event_target:fifth_potential_eyalet
3816
3825
  }
3826
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3817
3827
  release = event_target:fifth_potential_eyalet
3818
3828
  create_subject = {
3819
3829
  subject_type = eyalet
@@ -3938,6 +3948,7 @@ country_event = {
3938
3948
  limit = { owned_by = ROOT }
3939
3949
  add_core = event_target:first_potential_eyalet
3940
3950
  }
3951
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
3941
3952
  release = event_target:first_potential_eyalet
3942
3953
  create_subject = {
3943
3954
  subject_type = eyalet
@@ -4019,6 +4030,7 @@ country_event = {
4019
4030
  limit = { owned_by = ROOT }
4020
4031
  add_core = event_target:first_potential_eyalet
4021
4032
  }
4033
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4022
4034
  release = event_target:first_potential_eyalet
4023
4035
  create_subject = {
4024
4036
  subject_type = eyalet
@@ -4287,6 +4299,7 @@ country_event = {
4287
4299
  limit = { owned_by = ROOT }
4288
4300
  add_core = event_target:first_potential_eyalet
4289
4301
  }
4302
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4290
4303
  release = event_target:first_potential_eyalet
4291
4304
  create_subject = {
4292
4305
  subject_type = eyalet
@@ -4340,6 +4353,7 @@ country_event = {
4340
4353
  limit = { owned_by = ROOT }
4341
4354
  add_core = event_target:second_potential_eyalet
4342
4355
  }
4356
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4343
4357
  release = event_target:second_potential_eyalet
4344
4358
  create_subject = {
4345
4359
  subject_type = eyalet
@@ -4467,6 +4481,7 @@ country_event = {
4467
4481
  limit = { owned_by = ROOT }
4468
4482
  add_core = event_target:first_potential_eyalet
4469
4483
  }
4484
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4470
4485
  release = event_target:first_potential_eyalet
4471
4486
  create_subject = {
4472
4487
  subject_type = eyalet
@@ -4694,6 +4709,7 @@ country_event = {
4694
4709
  limit = { owned_by = ROOT }
4695
4710
  add_core = event_target:first_potential_eyalet
4696
4711
  }
4712
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4697
4713
  release = event_target:first_potential_eyalet
4698
4714
  create_subject = {
4699
4715
  subject_type = eyalet
@@ -4752,6 +4768,7 @@ country_event = {
4752
4768
  limit = { owned_by = ROOT }
4753
4769
  add_core = event_target:second_potential_eyalet
4754
4770
  }
4771
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4755
4772
  release = event_target:second_potential_eyalet
4756
4773
  create_subject = {
4757
4774
  subject_type = eyalet
@@ -4883,6 +4900,7 @@ country_event = {
4883
4900
  limit = { owned_by = ROOT }
4884
4901
  add_core = event_target:first_potential_eyalet
4885
4902
  }
4903
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
4886
4904
  release = event_target:first_potential_eyalet
4887
4905
  create_subject = {
4888
4906
  subject_type = eyalet
@@ -5117,6 +5135,7 @@ country_event = {
5117
5135
  limit = { owned_by = ROOT }
5118
5136
  add_core = event_target:first_potential_eyalet
5119
5137
  }
5138
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
5120
5139
  release = event_target:first_potential_eyalet
5121
5140
  create_subject = {
5122
5141
  subject_type = eyalet
@@ -5316,6 +5335,7 @@ country_event = {
5316
5335
  limit = { owned_by = ROOT }
5317
5336
  add_core = event_target:first_potential_eyalet
5318
5337
  }
5338
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
5319
5339
  release = event_target:first_potential_eyalet
5320
5340
  create_subject = {
5321
5341
  subject_type = eyalet
@@ -5653,6 +5673,7 @@ country_event = {
5653
5673
  limit = { owned_by = ROOT }
5654
5674
  add_core = event_target:first_potential_eyalet
5655
5675
  }
5676
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
5656
5677
  release = event_target:first_potential_eyalet
5657
5678
  create_subject = {
5658
5679
  subject_type = eyalet
@@ -5750,6 +5771,7 @@ country_event = {
5750
5771
  limit = { owned_by = ROOT }
5751
5772
  add_core = event_target:first_potential_eyalet
5752
5773
  }
5774
+ custom_tooltip = eyalet_cores_only_on_owned_provinces_tt
5753
5775
  release = event_target:first_potential_eyalet
5754
5776
  create_subject = {
5755
5777
  subject_type = eyalet
@@ -6002,22 +6024,6 @@ country_event = {
6002
6024
  fire_only_once = yes
6003
6025
  major = yes
6004
6026
  is_triggered_only = yes
6005
- trigger = {
6006
- has_dlc = "Domination"
6007
- tag = TUR
6008
- exists = MAM
6009
- FROM = {
6010
- is_capital = yes
6011
- owner = {
6012
- tag = MAM
6013
- }
6014
- }
6015
- is_in_war = {
6016
- casus_belli = cb_ottoman_invasion
6017
- attacker_leader = TUR
6018
- defender_leader = MAM
6019
- }
6020
- }
6021
6027
 
6022
6028
  option = {
6023
6029
  name = flavor_tur.240.a
@@ -6031,7 +6037,7 @@ country_event = {
6031
6037
  }
6032
6038
  }
6033
6039
  ai_chance = {
6034
- factor = 0
6040
+ factor = 1
6035
6041
  }
6036
6042
  }
6037
6043
 
@@ -6050,7 +6056,7 @@ country_event = {
6050
6056
  duration = 7300
6051
6057
  }
6052
6058
  ai_chance = {
6053
- factor = 1
6059
+ factor = 0
6054
6060
  }
6055
6061
  }
6056
6062
  }
@@ -6086,9 +6092,21 @@ country_event = {
6086
6092
  has_dlc = "Domination"
6087
6093
  tag = TUR
6088
6094
  has_country_flag = tur_decided_to_go_eyalet
6089
- had_country_flag = {
6090
- flag = tur_decided_to_go_eyalet
6091
- days = 1095
6095
+ or = {
6096
+ and = {
6097
+ ai = yes
6098
+ had_country_flag = {
6099
+ flag = tur_decided_to_go_eyalet
6100
+ days = 365
6101
+ }
6102
+ }
6103
+ and = {
6104
+ ai = no
6105
+ had_country_flag = {
6106
+ flag = tur_decided_to_go_eyalet
6107
+ days = 1095
6108
+ }
6109
+ }
6092
6110
  }
6093
6111
  is_in_war = {
6094
6112
  casus_belli = cb_ottoman_invasion
@@ -6185,6 +6203,7 @@ country_event = {
6185
6203
  fire_only_once = yes
6186
6204
  trigger = {
6187
6205
  has_country_flag = has_eyalet_country_name
6206
+ has_country_flag = is_EY7_flag
6188
6207
  has_country_modifier = tur_mamlukian_administration
6189
6208
  NOT = { is_subject_of_type = eyalet }
6190
6209
  NOT = { is_subject_of_type = core_eyalet }
@@ -6197,6 +6216,7 @@ country_event = {
6197
6216
  restore_country_name = yes
6198
6217
  restore_country_color = yes
6199
6218
  clr_country_flag = has_eyalet_country_name
6219
+ clr_country_flag = is_EY7_flag
6200
6220
  remove_country_modifier = tur_mamlukian_administration
6201
6221
  add_prestige = 20
6202
6222
  add_stability_or_adm_power = yes
@@ -6390,9 +6410,12 @@ country_event = {
6390
6410
  who = ROOT
6391
6411
  value = 150
6392
6412
  }
6393
- trust = {
6394
- who = ROOT
6395
- value = 80
6413
+ if = {
6414
+ limit = { has_dlc = "Leviathan" }
6415
+ trust = {
6416
+ who = ROOT
6417
+ value = 80
6418
+ }
6396
6419
  }
6397
6420
  }
6398
6421
  }
@@ -6673,7 +6696,7 @@ country_event = {
6673
6696
  option = {
6674
6697
  name = flavor_tur.254.a
6675
6698
  change_ruler_stat = {
6676
- stat = adm
6699
+ type = adm
6677
6700
  amount = 2
6678
6701
  }
6679
6702
  add_ruler_modifier = {
@@ -7604,7 +7627,7 @@ country_event = {
7604
7627
  }
7605
7628
  }
7606
7629
  change_ruler_stat = {
7607
- stat = adm
7630
+ type = adm
7608
7631
  amount = 1
7609
7632
  }
7610
7633
  ai_chance = {
@@ -7624,7 +7647,7 @@ country_event = {
7624
7647
  }
7625
7648
  }
7626
7649
  change_ruler_stat = {
7627
- stat = dip
7650
+ type = dip
7628
7651
  amount = 1
7629
7652
  }
7630
7653
  ai_chance = {
@@ -7785,9 +7808,12 @@ country_event = {
7785
7808
  who = ROOT
7786
7809
  value = 150
7787
7810
  }
7788
- trust = {
7789
- who = ROOT
7790
- value = 60
7811
+ if = {
7812
+ limit = { has_dlc = "Leviathan" }
7813
+ trust = {
7814
+ who = ROOT
7815
+ value = 60
7816
+ }
7791
7817
  }
7792
7818
  }
7793
7819
  }
@@ -9006,6 +9032,78 @@ country_event = {
9006
9032
  name = flavor_tur.1000.a
9007
9033
  clr_country_flag = has_eyalet_country_name
9008
9034
  clr_country_flag = has_eyalet_color
9035
+ if = {
9036
+ limit = { has_country_flag = is_EY0_flag }
9037
+ clr_country_flag = is_EY0_flag
9038
+ }
9039
+ if = {
9040
+ limit = { has_country_flag = is_EY1_flag }
9041
+ clr_country_flag = is_EY1_flag
9042
+ }
9043
+ if = {
9044
+ limit = { has_country_flag = is_EY2_flag }
9045
+ clr_country_flag = is_EY2_flag
9046
+ }
9047
+ if = {
9048
+ limit = { has_country_flag = is_EY3_flag }
9049
+ clr_country_flag = is_EY3_flag
9050
+ }
9051
+ if = {
9052
+ limit = { has_country_flag = is_EY4_flag }
9053
+ clr_country_flag = is_EY4_flag
9054
+ }
9055
+ if = {
9056
+ limit = { has_country_flag = is_EY5_flag }
9057
+ clr_country_flag = is_EY5_flag
9058
+ }
9059
+ if = {
9060
+ limit = { has_country_flag = is_EY6_flag }
9061
+ clr_country_flag = is_EY6_flag
9062
+ }
9063
+ if = {
9064
+ limit = { has_country_flag = is_EY7_flag }
9065
+ clr_country_flag = is_EY7_flag
9066
+ }
9067
+ if = {
9068
+ limit = { has_country_flag = is_EY8_flag }
9069
+ clr_country_flag = is_EY8_flag
9070
+ }
9071
+ if = {
9072
+ limit = { has_country_flag = is_EY9_flag }
9073
+ clr_country_flag = is_EY9_flag
9074
+ }
9075
+ if = {
9076
+ limit = { has_country_flag = is_E10_flag }
9077
+ clr_country_flag = is_E10_flag
9078
+ }
9079
+ if = {
9080
+ limit = { has_country_flag = is_E11_flag }
9081
+ clr_country_flag = is_E11_flag
9082
+ }
9083
+ if = {
9084
+ limit = { has_country_flag = is_E12_flag }
9085
+ clr_country_flag = is_E12_flag
9086
+ }
9087
+ if = {
9088
+ limit = { has_country_flag = is_E13_flag }
9089
+ clr_country_flag = is_E13_flag
9090
+ }
9091
+ if = {
9092
+ limit = { has_country_flag = is_E14_flag }
9093
+ clr_country_flag = is_E14_flag
9094
+ }
9095
+ if = {
9096
+ limit = { has_country_flag = is_E15_flag }
9097
+ clr_country_flag = is_E15_flag
9098
+ }
9099
+ if = {
9100
+ limit = { has_country_flag = is_E16_flag }
9101
+ clr_country_flag = is_E16_flag
9102
+ }
9103
+ if = {
9104
+ limit = { has_country_flag = is_E17_flag }
9105
+ clr_country_flag = is_E17_flag
9106
+ }
9009
9107
  restore_country_name = yes
9010
9108
  restore_country_color = yes
9011
9109
  add_prestige = 20
events/GenericOnActionEvents.txt CHANGED
@@ -11,6 +11,14 @@ country_event = {
11
11
  has_country_modifier = to_be_agenda_annexed_timer
12
12
  }
13
13
  }
14
+ NOT = {
15
+ AND = {
16
+ FROM = {
17
+ religion = ROOT
18
+ }
19
+ has_country_flag = BYZ_diplo_annexing_orthodox_countries
20
+ }
21
+ }
14
22
  NOT = { has_country_flag = no_integrate_penalty }
15
23
  }
16
24
 
events/Industrialization.txt CHANGED
@@ -315,6 +315,8 @@ country_event = {
315
315
  }
316
316
  }
317
317
  }
318
+
319
+ goto = invention_province
318
320
 
319
321
  immediate = {
320
322
  hidden_effect = {
events/InvestmentEvents.txt CHANGED
@@ -145,6 +145,7 @@ country_event = {
145
145
  }
146
146
  NOT = { has_country_modifier = fair_land_negotiations }
147
147
  }
148
+ goto = land_purchase_province
148
149
 
149
150
  mean_time_to_happen = {
150
151
  days = 1
events/MamlukEvents.txt CHANGED
@@ -128,52 +128,129 @@ country_event = {
128
128
  trigger_switch = {
129
129
  on_trigger = has_country_flag
130
130
  age_1 = {
131
- define_ruler = {
132
- culture = event_target:first_ruler_alternative_province
133
- hide_skills = yes
134
- age = 30
131
+ if = {
132
+ limit = {
133
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
134
+ }
135
+ define_ruler = {
136
+ culture = event_target:first_ruler_alternative_province
137
+ hide_skills = yes
138
+ age = 30
139
+ }
140
+ }
141
+ else = {
142
+ define_ruler = {
143
+ culture = event_target:first_ruler_alternative_province
144
+ age = 30
145
+ }
135
146
  }
136
147
  }
137
148
  age_2 = {
138
- define_ruler = {
139
- culture = event_target:first_ruler_alternative_province
140
- hide_skills = yes
141
- age = 32
149
+ if = {
150
+ limit = {
151
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
152
+ }
153
+ define_ruler = {
154
+ culture = event_target:first_ruler_alternative_province
155
+ hide_skills = yes
156
+ age = 32
157
+ }
158
+ }
159
+ else = {
160
+ define_ruler = {
161
+ culture = event_target:first_ruler_alternative_province
162
+ age = 32
163
+ }
142
164
  }
143
165
  }
144
166
  age_3 = {
145
- define_ruler = {
146
- culture = event_target:first_ruler_alternative_province
147
- hide_skills = yes
148
- age = 35
167
+ if = {
168
+ limit = {
169
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
170
+ }
171
+ define_ruler = {
172
+ culture = event_target:first_ruler_alternative_province
173
+ hide_skills = yes
174
+ age = 35
175
+ }
176
+ }
177
+ else = {
178
+ define_ruler = {
179
+ culture = event_target:first_ruler_alternative_province
180
+ age = 35
181
+ }
149
182
  }
150
183
  }
151
184
  age_4 = {
152
- define_ruler = {
153
- culture = event_target:first_ruler_alternative_province
154
- hide_skills = yes
155
- age = 40
185
+ if = {
186
+ limit = {
187
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
188
+ }
189
+ define_ruler = {
190
+ culture = event_target:first_ruler_alternative_province
191
+ hide_skills = yes
192
+ age = 40
193
+ }
194
+ }
195
+ else = {
196
+ define_ruler = {
197
+ culture = event_target:first_ruler_alternative_province
198
+ age = 40
199
+ }
156
200
  }
157
201
  }
158
202
  age_5 = {
159
- define_ruler = {
160
- culture = event_target:first_ruler_alternative_province
161
- hide_skills = yes
162
- age = 42
203
+ if = {
204
+ limit = {
205
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
206
+ }
207
+ define_ruler = {
208
+ culture = event_target:first_ruler_alternative_province
209
+ hide_skills = yes
210
+ age = 42
211
+ }
212
+ }
213
+ else = {
214
+ define_ruler = {
215
+ culture = event_target:first_ruler_alternative_province
216
+ age = 42
217
+ }
163
218
  }
164
219
  }
165
220
  age_6 = {
166
- define_ruler = {
167
- culture = event_target:first_ruler_alternative_province
168
- hide_skills = yes
169
- age = 45
221
+ if = {
222
+ limit = {
223
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
224
+ }
225
+ define_ruler = {
226
+ culture = event_target:first_ruler_alternative_province
227
+ hide_skills = yes
228
+ age = 45
229
+ }
230
+ }
231
+ else = {
232
+ define_ruler = {
233
+ culture = event_target:first_ruler_alternative_province
234
+ age = 45
235
+ }
170
236
  }
171
237
  }
172
238
  age_7 = {
173
- define_ruler = {
174
- culture = event_target:first_ruler_alternative_province
175
- hide_skills = yes
176
- age = 50
239
+ if = {
240
+ limit = {
241
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
242
+ }
243
+ define_ruler = {
244
+ culture = event_target:first_ruler_alternative_province
245
+ hide_skills = yes
246
+ age = 50
247
+ }
248
+ }
249
+ else = {
250
+ define_ruler = {
251
+ culture = event_target:first_ruler_alternative_province
252
+ age = 50
253
+ }
177
254
  }
178
255
  }
179
256
  }
@@ -193,52 +270,129 @@ country_event = {
193
270
  trigger_switch = {
194
271
  on_trigger = has_country_flag
195
272
  age_7 = {
196
- define_ruler = {
197
- culture = event_target:second_ruler_alternative_province
198
- hide_skills = yes
199
- age = 30
273
+ if = {
274
+ limit = {
275
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
276
+ }
277
+ define_ruler = {
278
+ culture = event_target:second_ruler_alternative_province
279
+ hide_skills = yes
280
+ age = 30
281
+ }
282
+ }
283
+ else = {
284
+ define_ruler = {
285
+ culture = event_target:second_ruler_alternative_province
286
+ age = 30
287
+ }
200
288
  }
201
289
  }
202
290
  age_6 = {
203
- define_ruler = {
204
- culture = event_target:second_ruler_alternative_province
205
- hide_skills = yes
206
- age = 32
291
+ if = {
292
+ limit = {
293
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
294
+ }
295
+ define_ruler = {
296
+ culture = event_target:second_ruler_alternative_province
297
+ hide_skills = yes
298
+ age = 32
299
+ }
300
+ }
301
+ else = {
302
+ define_ruler = {
303
+ culture = event_target:second_ruler_alternative_province
304
+ age = 32
305
+ }
207
306
  }
208
307
  }
209
308
  age_5 = {
210
- define_ruler = {
211
- culture = event_target:second_ruler_alternative_province
212
- hide_skills = yes
213
- age = 35
309
+ if = {
310
+ limit = {
311
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
312
+ }
313
+ define_ruler = {
314
+ culture = event_target:second_ruler_alternative_province
315
+ hide_skills = yes
316
+ age = 35
317
+ }
318
+ }
319
+ else = {
320
+ define_ruler = {
321
+ culture = event_target:second_ruler_alternative_province
322
+ age = 35
323
+ }
214
324
  }
215
325
  }
216
326
  age_3 = {
217
- define_ruler = {
218
- culture = event_target:second_ruler_alternative_province
219
- hide_skills = yes
220
- age = 40
327
+ if = {
328
+ limit = {
329
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
330
+ }
331
+ define_ruler = {
332
+ culture = event_target:second_ruler_alternative_province
333
+ hide_skills = yes
334
+ age = 40
335
+ }
336
+ }
337
+ else = {
338
+ define_ruler = {
339
+ culture = event_target:second_ruler_alternative_province
340
+ age = 40
341
+ }
221
342
  }
222
343
  }
223
344
  age_4 = {
224
- define_ruler = {
225
- culture = event_target:second_ruler_alternative_province
226
- hide_skills = yes
227
- age = 42
345
+ if = {
346
+ limit = {
347
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
348
+ }
349
+ define_ruler = {
350
+ culture = event_target:second_ruler_alternative_province
351
+ hide_skills = yes
352
+ age = 42
353
+ }
354
+ }
355
+ else = {
356
+ define_ruler = {
357
+ culture = event_target:second_ruler_alternative_province
358
+ age = 42
359
+ }
228
360
  }
229
361
  }
230
362
  age_2 = {
231
- define_ruler = {
232
- culture = event_target:second_ruler_alternative_province
233
- hide_skills = yes
234
- age = 45
363
+ if = {
364
+ limit = {
365
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
366
+ }
367
+ define_ruler = {
368
+ culture = event_target:second_ruler_alternative_province
369
+ hide_skills = yes
370
+ age = 45
371
+ }
372
+ }
373
+ else = {
374
+ define_ruler = {
375
+ culture = event_target:second_ruler_alternative_province
376
+ age = 45
377
+ }
235
378
  }
236
379
  }
237
380
  age_1 = {
238
- define_ruler = {
239
- culture = event_target:second_ruler_alternative_province
240
- hide_skills = yes
241
- age = 50
381
+ if = {
382
+ limit = {
383
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
384
+ }
385
+ define_ruler = {
386
+ culture = event_target:second_ruler_alternative_province
387
+ hide_skills = yes
388
+ age = 50
389
+ }
390
+ }
391
+ else = {
392
+ define_ruler = {
393
+ culture = event_target:second_ruler_alternative_province
394
+ age = 50
395
+ }
242
396
  }
243
397
  }
244
398
  }
@@ -259,52 +413,123 @@ country_event = {
259
413
  trigger_switch = {
260
414
  on_trigger = has_country_flag
261
415
  age_6 = {
262
- define_ruler = {
263
- culture = event_target:third_ruler_alternative_province
264
- hide_skills = yes
265
- age = 30
416
+ if = {
417
+ limit = {
418
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
419
+ }
420
+ define_ruler = {
421
+ culture = event_target:third_ruler_alternative_province
422
+ hide_skills = yes
423
+ age = 30
424
+ }
425
+ }
426
+ else = {
427
+ define_ruler = {
428
+ culture = event_target:third_ruler_alternative_province
429
+ age = 30
430
+ }
266
431
  }
267
432
  }
268
433
  age_3 = {
269
- define_ruler = {
270
- culture = event_target:third_ruler_alternative_province
271
- hide_skills = yes
272
- age = 32
434
+ if = {
435
+ limit = {
436
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
437
+ }
438
+ define_ruler = {
439
+ culture = event_target:third_ruler_alternative_province
440
+ hide_skills = yes
441
+ age = 32
442
+ }
443
+ }
444
+ else = {
445
+ define_ruler = {
446
+ culture = event_target:third_ruler_alternative_province
447
+ age = 32
448
+ }
273
449
  }
274
450
  }
275
451
  age_2 = {
276
- define_ruler = {
277
- culture = event_target:third_ruler_alternative_province
278
- hide_skills = yes
279
- age = 35
452
+ if = {
453
+ limit = {
454
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
455
+ }
456
+ define_ruler = {
457
+ culture = event_target:third_ruler_alternative_province
458
+ hide_skills = yes
459
+ age = 35
460
+ }
280
461
  }
281
462
  }
282
463
  age_5 = {
283
- define_ruler = {
284
- culture = event_target:third_ruler_alternative_province
285
- hide_skills = yes
286
- age = 40
464
+ if = {
465
+ limit = {
466
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
467
+ }
468
+ define_ruler = {
469
+ culture = event_target:third_ruler_alternative_province
470
+ hide_skills = yes
471
+ age = 40
472
+ }
473
+ }
474
+ else = {
475
+ define_ruler = {
476
+ culture = event_target:third_ruler_alternative_province
477
+ age = 40
478
+ }
287
479
  }
288
480
  }
289
481
  age_1 = {
290
- define_ruler = {
291
- culture = event_target:third_ruler_alternative_province
292
- hide_skills = yes
293
- age = 42
482
+ if = {
483
+ limit = {
484
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
485
+ }
486
+ define_ruler = {
487
+ culture = event_target:third_ruler_alternative_province
488
+ hide_skills = yes
489
+ age = 42
490
+ }
491
+ }
492
+ else = {
493
+ define_ruler = {
494
+ culture = event_target:third_ruler_alternative_province
495
+ age = 42
496
+ }
294
497
  }
295
498
  }
296
499
  age_7 = {
297
- define_ruler = {
298
- culture = event_target:third_ruler_alternative_province
299
- hide_skills = yes
300
- age = 45
500
+ if = {
501
+ limit = {
502
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
503
+ }
504
+ define_ruler = {
505
+ culture = event_target:third_ruler_alternative_province
506
+ hide_skills = yes
507
+ age = 45
508
+ }
509
+ }
510
+ else = {
511
+ define_ruler = {
512
+ culture = event_target:third_ruler_alternative_province
513
+ age = 45
514
+ }
301
515
  }
302
516
  }
303
517
  age_4 = {
304
- define_ruler = {
305
- culture = event_target:third_ruler_alternative_province
306
- hide_skills = yes
307
- age = 50
518
+ if = {
519
+ limit = {
520
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
521
+ }
522
+ define_ruler = {
523
+ culture = event_target:third_ruler_alternative_province
524
+ hide_skills = yes
525
+ age = 50
526
+ }
527
+ }
528
+ else = {
529
+ define_ruler = {
530
+ culture = event_target:third_ruler_alternative_province
531
+ age = 50
532
+ }
308
533
  }
309
534
  }
310
535
  }
@@ -325,52 +550,129 @@ country_event = {
325
550
  trigger_switch = {
326
551
  on_trigger = has_country_flag
327
552
  age_7 = {
328
- define_ruler = {
329
- culture = event_target:fourth_ruler_alternative_province
330
- hide_skills = yes
331
- age = 30
553
+ if = {
554
+ limit = {
555
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
556
+ }
557
+ define_ruler = {
558
+ culture = event_target:fourth_ruler_alternative_province
559
+ hide_skills = yes
560
+ age = 30
561
+ }
562
+ }
563
+ else = {
564
+ define_ruler = {
565
+ culture = event_target:fourth_ruler_alternative_province
566
+ age = 30
567
+ }
332
568
  }
333
569
  }
334
570
  age_5 = {
335
- define_ruler = {
336
- culture = event_target:fourth_ruler_alternative_province
337
- hide_skills = yes
338
- age = 32
571
+ if = {
572
+ limit = {
573
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
574
+ }
575
+ define_ruler = {
576
+ culture = event_target:fourth_ruler_alternative_province
577
+ hide_skills = yes
578
+ age = 32
579
+ }
580
+ }
581
+ else = {
582
+ define_ruler = {
583
+ culture = event_target:fourth_ruler_alternative_province
584
+ age = 32
585
+ }
339
586
  }
340
587
  }
341
588
  age_4 = {
342
- define_ruler = {
343
- culture = event_target:fourth_ruler_alternative_province
344
- hide_skills = yes
345
- age = 35
589
+ if = {
590
+ limit = {
591
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
592
+ }
593
+ define_ruler = {
594
+ culture = event_target:fourth_ruler_alternative_province
595
+ hide_skills = yes
596
+ age = 35
597
+ }
598
+ }
599
+ else = {
600
+ define_ruler = {
601
+ culture = event_target:fourth_ruler_alternative_province
602
+ age = 35
603
+ }
346
604
  }
347
605
  }
348
606
  age_2 = {
349
- define_ruler = {
350
- culture = event_target:fourth_ruler_alternative_province
351
- hide_skills = yes
352
- age = 40
607
+ if = {
608
+ limit = {
609
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
610
+ }
611
+ define_ruler = {
612
+ culture = event_target:fourth_ruler_alternative_province
613
+ hide_skills = yes
614
+ age = 40
615
+ }
616
+ }
617
+ else = {
618
+ define_ruler = {
619
+ culture = event_target:fourth_ruler_alternative_province
620
+ age = 40
621
+ }
353
622
  }
354
623
  }
355
624
  age_3 = {
356
- define_ruler = {
357
- culture = event_target:fourth_ruler_alternative_province
358
- hide_skills = yes
359
- age = 42
625
+ if = {
626
+ limit = {
627
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
628
+ }
629
+ define_ruler = {
630
+ culture = event_target:fourth_ruler_alternative_province
631
+ hide_skills = yes
632
+ age = 42
633
+ }
634
+ }
635
+ else = {
636
+ define_ruler = {
637
+ culture = event_target:fourth_ruler_alternative_province
638
+ age = 42
639
+ }
360
640
  }
361
641
  }
362
642
  age_1 = {
363
- define_ruler = {
364
- culture = event_target:fourth_ruler_alternative_province
365
- hide_skills = yes
366
- age = 45
643
+ if = {
644
+ limit = {
645
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
646
+ }
647
+ define_ruler = {
648
+ culture = event_target:fourth_ruler_alternative_province
649
+ hide_skills = yes
650
+ age = 45
651
+ }
652
+ }
653
+ else = {
654
+ define_ruler = {
655
+ culture = event_target:fourth_ruler_alternative_province
656
+ age = 45
657
+ }
367
658
  }
368
659
  }
369
660
  age_6 = {
370
- define_ruler = {
371
- culture = event_target:fourth_ruler_alternative_province
372
- hide_skills = yes
373
- age = 50
661
+ if = {
662
+ limit = {
663
+ NOT = { has_government_attribute = reveal_ruler_skills_for_mamluks }
664
+ }
665
+ define_ruler = {
666
+ culture = event_target:fourth_ruler_alternative_province
667
+ hide_skills = yes
668
+ age = 50
669
+ }
670
+ }
671
+ else = {
672
+ define_ruler = {
673
+ culture = event_target:fourth_ruler_alternative_province
674
+ age = 50
675
+ }
374
676
  }
375
677
  }
376
678
  }
events/Memes.txt CHANGED
@@ -5,10 +5,7 @@ country_event = {
5
5
  title = memes.1.t
6
6
  desc = memes.1.d
7
7
  picture = BATTLE_eventPicture
8
-
9
- trigger = {
10
- always = no
11
- }
8
+ is_triggered_only = yes
12
9
 
13
10
  immediate = {
14
11
  hidden_effect = {
@@ -21,10 +18,6 @@ country_event = {
21
18
  }
22
19
  }
23
20
 
24
- mean_time_to_happen = {
25
- days = 1
26
- }
27
-
28
21
  option = {
29
22
  name = memes.1.opt.a
30
23
  event_target:da_company = {
events/MuslimSchoolEvents.txt CHANGED
@@ -3384,17 +3384,22 @@ country_event = {
3384
3384
 
3385
3385
  trigger = {
3386
3386
  has_dlc = "Cradle of Civilization"
3387
- is_year = 1700
3388
3387
  OR = {
3389
- has_global_flag = neo_sufism
3390
- is_year = 1780
3391
- }
3392
- uses_piety = yes
3393
- religious_school = {
3394
- group = muslim
3395
- school = hanbali_school
3396
- }
3397
- piety = 0.65
3388
+ AND = {
3389
+ is_year = 1700
3390
+ OR = {
3391
+ has_global_flag = neo_sufism
3392
+ is_year = 1780
3393
+ }
3394
+ uses_piety = yes
3395
+ religious_school = {
3396
+ group = muslim
3397
+ school = hanbali_school
3398
+ }
3399
+ piety = 0.65
3400
+ }
3401
+ has_country_flag = ARB_may_fire_wahabism
3402
+ }
3398
3403
  }
3399
3404
 
3400
3405
  immediate = {
@@ -3410,6 +3415,8 @@ country_event = {
3410
3415
  option = {
3411
3416
  name = muslim_school_events.22.a #Interesting
3412
3417
  custom_tooltip = muslim_school_events.22.a.tt #Sunni Tribal Federations will now be able to change to the Hanbali School
3418
+
3419
+ custom_tooltip = ABR_hanbali_countries_now_buff_religious_culture
3413
3420
  }
3414
3421
  }
3415
3422
 
events/Norse.txt CHANGED
@@ -613,6 +613,7 @@ country_event = {
613
613
  set_government_rank = 3
614
614
  }
615
615
  override_country_name = NORTH_SEA_EMPIRE
616
+ set_country_flag = renamed_to_north_sea_empire
616
617
  set_country_flag = has_overriden_color_flag
617
618
  change_country_color = { color = { 202 245 251 } }
618
619
  add_prestige = 25
events/PassiveEffectsEvents.txt CHANGED
@@ -275,30 +275,30 @@ country_event = {
275
275
  }
276
276
 
277
277
  # Remove temporary colonist when colonist idea is unlocked
278
- country_event = {
279
- id = passive_effects_events.6
280
- title = none
281
- desc = none
282
- picture = none
283
- hidden = yes
284
-
285
- trigger = {
286
- has_country_modifier = temporary_colonist
287
- has_any_colonist_idea = yes
288
- }
289
-
290
- mean_time_to_happen = {
291
- months = 1
292
- }
293
-
294
- option = {
295
- remove_country_modifier = temporary_colonist
296
-
297
- ai_chance = {
298
- factor = 1
299
- }
300
- }
301
- }
278
+ #country_event = {
279
+ # id = passive_effects_events.6
280
+ # title = none
281
+ # desc = none
282
+ # picture = none
283
+ # hidden = yes
284
+ #
285
+ # trigger = {
286
+ # has_country_modifier = temporary_colonist
287
+ # has_any_colonist_idea = yes
288
+ # }
289
+ #
290
+ # mean_time_to_happen = {
291
+ # months = 1
292
+ # }
293
+ #
294
+ # option = {
295
+ # remove_country_modifier = temporary_colonist
296
+ #
297
+ # ai_chance = {
298
+ # factor = 1
299
+ # }
300
+ # }
301
+ #}
302
302
 
303
303
  # Add siege progress when retaking own fort
304
304
  country_event = {
@@ -401,9 +401,9 @@ country_event = {
401
401
  # Remove the unrest from seizure estate land
402
402
  province_event = {
403
403
  id = passive_effects_events.9
404
- title = none
405
- desc = none
406
- picture = none
404
+ title = passive_effects_events.9.t
405
+ desc = passive_effects_events.9.desc
406
+ picture = REVOLT_eventPicture
407
407
  hidden = yes
408
408
 
409
409
  trigger = {
@@ -418,6 +418,7 @@ province_event = {
418
418
  }
419
419
 
420
420
  option = {
421
+ name = passive_effects_events.9.a
421
422
  clr_province_flag = has_estate_unrest_flag
422
423
  remove_named_unrest = estate_land_seized
423
424
 
events/PersianInfluence.txt ADDED
@@ -0,0 +1,737 @@
1
+ ###########################################################
2
+ # Events for the Persian Influence
3
+ ###########################################################
4
+
5
+ namespace = persian_influence_events
6
+
7
+ #Drain the Persian Influence when you elevate a country
8
+ #For some reason, the diplo action itself does not drain *exactly* the amount it should
9
+ country_event = {
10
+ id = persian_influence_events.100
11
+ title = none
12
+ desc = none
13
+ picture = none
14
+ is_triggered_only = yes
15
+ hidden = yes
16
+ option = {
17
+ from = {
18
+ create_subject = {
19
+ subject_type = vassal
20
+ subject = root
21
+ keep_liberty_desire = yes
22
+ }
23
+ }
24
+ ai_chance = { factor = 1 }
25
+ }
26
+ }
27
+
28
+ #Influenced Country breaks free through Religious Changes - Subject
29
+ country_event = {
30
+ id = persian_influence_events.1000
31
+ title = persian_influence_events.1000.t
32
+ desc = persian_influence_events.1000.desc
33
+ picture = ARTWORK_eventPicture
34
+ is_triggered_only = yes
35
+ immediate = {
36
+ hidden_effect = {
37
+ overlord = {
38
+ save_event_target_as = overlord_scope
39
+ }
40
+ }
41
+ }
42
+ #So be it
43
+ option = {
44
+ name = persian_influence_events.1000.a
45
+ hidden_effect = {
46
+ overlord = {
47
+ country_event = {
48
+ id = persian_influence_events.1001
49
+ }
50
+ }
51
+ }
52
+ grant_independence = yes
53
+ ai_chance = { factor = 1 }
54
+ }
55
+ }
56
+
57
+ #Influenced Country breaks free through Religious Changes - Overlord
58
+ country_event = {
59
+ id = persian_influence_events.1001
60
+ title = persian_influence_events.1001.t
61
+ desc = persian_influence_events.1001.desc
62
+ picture = ARTWORK_eventPicture
63
+ is_triggered_only = yes
64
+
65
+ #Curses
66
+ option = {
67
+ name = persian_influence_events.1001.a
68
+ tooltip = { FROM = { grant_independence = yes } }
69
+ ai_chance = { factor = 1 }
70
+ }
71
+ }
72
+
73
+ #Sphere of Influence dissolves due to religious changes - Overlord
74
+ country_event = {
75
+ id = persian_influence_events.2000
76
+ title = persian_influence_events.2000.t
77
+ desc = persian_influence_events.2000.desc
78
+ picture = ARTWORK_eventPicture
79
+ is_triggered_only = yes
80
+
81
+ #Curses
82
+ option = {
83
+ name = persian_influence_events.2000.a
84
+ custom_tooltip = persian_influence_events.2000.a.tt
85
+ hidden_effect = {
86
+ every_subject_country = {
87
+ limit = { is_subject_of_type = cultural_sphere_of_influence_subject }
88
+ country_event = {
89
+ id = persian_influence_events.2001
90
+ }
91
+ }
92
+ }
93
+ ai_chance = { factor = 1 }
94
+ }
95
+ }
96
+
97
+ #Sphere of Influence dissolves due to religious changes - Subject
98
+ country_event = {
99
+ id = persian_influence_events.2001
100
+ title = persian_influence_events.2001.t
101
+ desc = persian_influence_events.2001.desc
102
+ picture = ARTWORK_eventPicture
103
+ is_triggered_only = yes
104
+
105
+ #So be it
106
+ option = {
107
+ name = persian_influence_events.2001.a
108
+ grant_independence = yes
109
+ ai_chance = { factor = 1 }
110
+ }
111
+ }
112
+
113
+ #Sphere of Influence dissolves due to other kind of changes
114
+ country_event = {
115
+ id = persian_influence_events.3000
116
+ title = persian_influence_events.3000.t
117
+ desc = persian_influence_events.3000.desc
118
+ picture = COUNTRY_COLLAPSE_eventPicture
119
+ is_triggered_only = yes
120
+
121
+ #Curses
122
+ option = {
123
+ name = persian_influence_events.3000.a
124
+ custom_tooltip = persian_influence_events.2000.a.tt
125
+ hidden_effect = {
126
+ every_subject_country = {
127
+ limit = { is_subject_of_type = cultural_sphere_of_influence_subject }
128
+ country_event = {
129
+ id = persian_influence_events.3001
130
+ }
131
+ }
132
+ }
133
+ ai_chance = { factor = 1 }
134
+ }
135
+ }
136
+
137
+ #Sphere of Influence dissolves due to religious changes - Subject
138
+ country_event = {
139
+ id = persian_influence_events.3001
140
+ title = persian_influence_events.3001.t
141
+ desc = persian_influence_events.3001.desc
142
+ picture = ARTWORK_eventPicture
143
+ is_triggered_only = yes
144
+
145
+ #So be it
146
+ option = {
147
+ name = persian_influence_events.3001.a
148
+ grant_independence = yes
149
+ ai_chance = { factor = 1 }
150
+ }
151
+ }
152
+
153
+ ###########################################################
154
+ # Events from promoting art
155
+ ###########################################################
156
+
157
+ namespace = promoting_art_events
158
+
159
+ #Selecting the Type of Art
160
+ country_event = {
161
+ id = promoting_art_events.1
162
+ title = promoting_art_events.1.t
163
+ desc = promoting_art_events.1.desc
164
+ picture = ARTWORK_eventPicture
165
+
166
+ is_triggered_only = yes
167
+
168
+ trigger = {
169
+ has_government_mechanic = persian_influence_mechanic
170
+ has_country_modifier = promoting_art
171
+ }
172
+
173
+ mean_time_to_happen = {
174
+ days = 1
175
+ }
176
+
177
+ #Architecture
178
+ option = {
179
+ name = promoting_art_events.1.a
180
+ add_country_modifier = {
181
+ name = promoting_architecture
182
+ duration = -1
183
+ desc = UNTIL_ART_COMPLETION_TT
184
+ }
185
+ ai_chance = {
186
+ factor = 25
187
+ }
188
+ }
189
+ #Textiles
190
+ option = {
191
+ name = promoting_art_events.1.b
192
+ add_country_modifier = {
193
+ name = promoting_textiles
194
+ duration = -1
195
+ desc = UNTIL_ART_COMPLETION_TT
196
+ }
197
+ ai_chance = {
198
+ factor = 75
199
+ }
200
+ }
201
+ #Painting
202
+ option = {
203
+ name = promoting_art_events.1.c
204
+ add_country_modifier = {
205
+ name = promoting_painting
206
+ duration = -1
207
+ desc = UNTIL_ART_COMPLETION_TT
208
+ }
209
+ ai_chance = {
210
+ factor = 75
211
+ }
212
+ }
213
+ }
214
+
215
+ #Art finishes
216
+ country_event = {
217
+ id = promoting_art_events.2
218
+ title = promoting_art_events.2.t
219
+ desc = promoting_art_events.2.desc
220
+ picture = ARTWORK_eventPicture
221
+
222
+ is_triggered_only = yes
223
+
224
+ trigger = {
225
+ has_government_mechanic = persian_influence_mechanic
226
+ has_country_modifier = promoting_art
227
+ OR = {
228
+ has_country_modifier = promoting_architecture
229
+ has_country_modifier = promoting_textiles
230
+ has_country_modifier = promoting_painting
231
+ }
232
+ check_variable = {
233
+ which = art_progress
234
+ value = 10
235
+ }
236
+ }
237
+
238
+ mean_time_to_happen = {
239
+ days = 1
240
+ }
241
+
242
+ #Magnificent Art!
243
+ option = {
244
+ name = promoting_art_events.2.a
245
+ trigger = {
246
+ check_variable = { which = art_quality value = 4 }
247
+ OR = {
248
+ has_country_modifier = promoting_architecture
249
+ has_country_modifier = promoting_textiles
250
+ has_country_modifier = promoting_painting
251
+ }
252
+ }
253
+ if = {
254
+ limit = { has_country_modifier = promoting_architecture }
255
+ complete_artwork_effect = { type = architecture }
256
+ }
257
+ if = {
258
+ limit = { has_country_modifier = promoting_textiles }
259
+ complete_artwork_effect = { type = textiles }
260
+ }
261
+ if = {
262
+ limit = { has_country_modifier = promoting_painting }
263
+ complete_artwork_effect = { type = painting }
264
+ }
265
+ ai_chance = {
266
+ factor = 25
267
+ }
268
+ }
269
+ #Magnificent Art!
270
+ option = {
271
+ name = promoting_art_events.2.b
272
+ trigger = {
273
+ is_variable_equal = { which = art_quality value = 3 }
274
+ OR = {
275
+ has_country_modifier = promoting_architecture
276
+ has_country_modifier = promoting_textiles
277
+ has_country_modifier = promoting_painting
278
+ }
279
+ }
280
+ if = {
281
+ limit = { has_country_modifier = promoting_architecture }
282
+ complete_artwork_effect = { type = architecture }
283
+ }
284
+ if = {
285
+ limit = { has_country_modifier = promoting_textiles }
286
+ complete_artwork_effect = { type = textiles }
287
+ }
288
+ if = {
289
+ limit = { has_country_modifier = promoting_painting }
290
+ complete_artwork_effect = { type = painting }
291
+ }
292
+ ai_chance = {
293
+ factor = 25
294
+ }
295
+ }
296
+ #Great Art!
297
+ option = {
298
+ name = promoting_art_events.2.c
299
+ trigger = {
300
+ is_variable_equal = { which = art_quality value = 2 }
301
+ OR = {
302
+ has_country_modifier = promoting_architecture
303
+ has_country_modifier = promoting_textiles
304
+ has_country_modifier = promoting_painting
305
+ }
306
+ }
307
+ if = {
308
+ limit = { has_country_modifier = promoting_architecture }
309
+ complete_artwork_effect = { type = architecture }
310
+ }
311
+ if = {
312
+ limit = { has_country_modifier = promoting_textiles }
313
+ complete_artwork_effect = { type = textiles }
314
+ }
315
+ if = {
316
+ limit = { has_country_modifier = promoting_painting }
317
+ complete_artwork_effect = { type = painting }
318
+ }
319
+ ai_chance = {
320
+ factor = 25
321
+ }
322
+ }
323
+ #Ok Art!
324
+ option = {
325
+ name = promoting_art_events.2.d
326
+ trigger = {
327
+ is_variable_equal = { which = art_quality value = 1 }
328
+ OR = {
329
+ has_country_modifier = promoting_architecture
330
+ has_country_modifier = promoting_textiles
331
+ has_country_modifier = promoting_painting
332
+ }
333
+ }
334
+ if = {
335
+ limit = { has_country_modifier = promoting_architecture }
336
+ complete_artwork_effect = { type = architecture }
337
+ }
338
+ if = {
339
+ limit = { has_country_modifier = promoting_textiles }
340
+ complete_artwork_effect = { type = textiles }
341
+ }
342
+ if = {
343
+ limit = { has_country_modifier = promoting_painting }
344
+ complete_artwork_effect = { type = painting }
345
+ }
346
+ ai_chance = {
347
+ factor = 25
348
+ }
349
+ }
350
+ #Horrendous Art!
351
+ option = {
352
+ name = promoting_art_events.2.d
353
+ trigger = {
354
+ NOT = { check_variable = { which = art_quality value = 1 } }
355
+ OR = {
356
+ has_country_modifier = promoting_architecture
357
+ has_country_modifier = promoting_textiles
358
+ has_country_modifier = promoting_painting
359
+ }
360
+ }
361
+ if = {
362
+ limit = { has_country_modifier = promoting_architecture }
363
+ complete_artwork_effect = { type = architecture }
364
+ }
365
+ if = {
366
+ limit = { has_country_modifier = promoting_textiles }
367
+ complete_artwork_effect = { type = textiles }
368
+ }
369
+ if = {
370
+ limit = { has_country_modifier = promoting_painting }
371
+ complete_artwork_effect = { type = painting }
372
+ }
373
+ ai_chance = {
374
+ factor = 25
375
+ }
376
+ }
377
+ #Fallback
378
+ option = {
379
+ name = promoting_art_events.2.d
380
+ trigger = {
381
+ NOT = { has_country_modifier = promoting_architecture }
382
+ NOT = { has_country_modifier = promoting_textiles }
383
+ NOT = { has_country_modifier = promoting_painting }
384
+ }
385
+ add_government_power = {
386
+ mechanic_type = persian_influence_mechanic
387
+ power_type = persian_influence
388
+ value = 5
389
+ }
390
+ ai_chance = {
391
+ factor = 75
392
+ }
393
+ }
394
+ }
395
+
396
+ #Art request additional funds
397
+ country_event = {
398
+ id = promoting_art_events.3
399
+ title = promoting_art_events.3.t
400
+ desc = promoting_art_events.3.desc
401
+ picture = ARTWORK_eventPicture
402
+ trigger = {
403
+ has_government_mechanic = persian_influence_mechanic
404
+ has_country_modifier = promoting_art
405
+ }
406
+ is_triggered_only = yes
407
+ mean_time_to_happen = { days = 1 }
408
+ option = {
409
+ name = promoting_art_events.3.a
410
+ add_years_of_income = -1
411
+ hidden_effect = {
412
+ change_art_quality = { amount = 1 }
413
+ }
414
+ ai_chance = {
415
+ factor = 1
416
+ }
417
+ }
418
+ option = {
419
+ name = promoting_art_events.3.b
420
+ add_years_of_income = -0.5
421
+ hidden_effect = {
422
+ random_list = {
423
+ 1 = { change_art_quality = { amount = 1 } }
424
+ 2 = { }
425
+ 1 = { change_art_quality = { amount = -1 } }
426
+ }
427
+ }
428
+ ai_chance = {
429
+ factor = 1
430
+ }
431
+ }
432
+ option = {
433
+ name = promoting_art_events.3.c
434
+ add_years_of_income = -0.25
435
+ hidden_effect = {
436
+ random_list = {
437
+ 2 = { }
438
+ 1 = { change_art_quality = { amount = -1 } }
439
+ }
440
+ }
441
+ ai_chance = {
442
+ factor = 1
443
+ modifier = {
444
+ factor = 0
445
+ years_of_income = 1
446
+ }
447
+ }
448
+ }
449
+ after = {
450
+ hidden_effect = {
451
+ change_art_progress = { amount = 1 }
452
+ }
453
+ }
454
+ }
455
+
456
+ #Artist made great progress
457
+ country_event = {
458
+ id = promoting_art_events.4
459
+ title = promoting_art_events.4.t
460
+ desc = promoting_art_events.4.desc
461
+ picture = ARTWORK_eventPicture
462
+ trigger = {
463
+ has_government_mechanic = persian_influence_mechanic
464
+ has_country_modifier = promoting_art
465
+ }
466
+ is_triggered_only = yes
467
+ mean_time_to_happen = { days = 1 }
468
+ option = {
469
+ name = promoting_art_events.4.a
470
+ add_dip_power = -100
471
+ hidden_effect = {
472
+ random_list = {
473
+ 1 = { change_art_quality = { amount = 1 } }
474
+ 1 = { }
475
+ }
476
+ change_art_progress = { amount = -2 }
477
+ }
478
+ ai_chance = {
479
+ factor = 1
480
+ }
481
+ }
482
+ option = {
483
+ name = promoting_art_events.4.b
484
+ add_dip_power = -50
485
+ hidden_effect = {
486
+ random_list = {
487
+ 1 = { change_art_quality = { amount = 1 } }
488
+ 2 = { }
489
+ }
490
+ change_art_progress = { amount = -1 }
491
+ }
492
+ ai_chance = {
493
+ factor = 1
494
+ }
495
+ }
496
+ option = {
497
+ name = promoting_art_events.4.c
498
+ add_dip_power = 5
499
+ ai_chance = {
500
+ factor = 1
501
+ }
502
+ }
503
+ after = {
504
+ hidden_effect = {
505
+ change_art_progress = { amount = 2 }
506
+ }
507
+ }
508
+ }
509
+
510
+ #Creativity blockade
511
+ country_event = {
512
+ id = promoting_art_events.5
513
+ title = promoting_art_events.5.t
514
+ desc = promoting_art_events.5.desc
515
+ picture = ARTWORK_eventPicture
516
+ trigger = {
517
+ has_government_mechanic = persian_influence_mechanic
518
+ has_country_modifier = promoting_art
519
+ }
520
+ is_triggered_only = yes
521
+ mean_time_to_happen = { days = 1 }
522
+ option = {
523
+ name = promoting_art_events.5.a
524
+ add_mil_power = -50
525
+ hidden_effect = {
526
+ change_art_progress = { amount = 2 }
527
+ random_list = {
528
+ 1 = { change_art_quality = { amount = -2 } }
529
+ 1 = { change_art_quality = { amount = -1 } }
530
+ 3 = { }
531
+ }
532
+ }
533
+ ai_chance = {
534
+ factor = 1
535
+ }
536
+ }
537
+ option = {
538
+ name = promoting_art_events.5.b
539
+ add_prestige = -10
540
+ add_dip_power = -50
541
+ hidden_effect = {
542
+ random_list = {
543
+ 1 = { change_art_quality = { amount = 1 } }
544
+ 4 = { }
545
+ }
546
+ }
547
+ ai_chance = {
548
+ factor = 1
549
+ }
550
+ }
551
+ option = {
552
+ name = promoting_art_events.5.c
553
+ hidden_effect = {
554
+ change_art_progress = { amount = -1 }
555
+ random_list = {
556
+ 3 = { change_art_quality = { amount = 1 } }
557
+ 1 = { }
558
+ }
559
+ }
560
+ ai_chance = {
561
+ factor = 1
562
+ }
563
+ }
564
+ after = {
565
+ hidden_effect = {
566
+ change_art_progress = { amount = -1 }
567
+ }
568
+ }
569
+ }
570
+
571
+ #Inspriation from other cultures
572
+ country_event = {
573
+ id = promoting_art_events.6
574
+ title = promoting_art_events.6.t
575
+ desc = promoting_art_events.6.desc
576
+ picture = ARTWORK_eventPicture
577
+ trigger = {
578
+ has_government_mechanic = persian_influence_mechanic
579
+ has_country_modifier = promoting_art
580
+ any_neighbor_country = {
581
+ NOT = { primary_culture = root }
582
+ NOT = { war_with = root }
583
+ NOT = { is_subject_of = root }
584
+ }
585
+ }
586
+ immediate = {
587
+ hidden_effect = {
588
+ random_neighbor_country = {
589
+ limit = {
590
+ NOT = { primary_culture = root }
591
+ NOT = { war_with = root }
592
+ NOT = { is_subject_of = root }
593
+ }
594
+ save_event_target_as = target_country
595
+ }
596
+ }
597
+ }
598
+ is_triggered_only = yes
599
+ mean_time_to_happen = { days = 1 }
600
+ option = {
601
+ name = promoting_art_events.6.a
602
+ custom_tooltip = promoting_art_events.6.a.tt
603
+ add_yearly_manpower = -0.25
604
+ hidden_effect = {
605
+ random_list = {
606
+ 1 = { change_art_progress = { amount = 2 } }
607
+ 1 = { change_art_progress = { amount = -2 } }
608
+ }
609
+ random_list = {
610
+ 1 = { change_art_quality = { amount = 2 } }
611
+ 1 = { change_art_quality = { amount = 1 } }
612
+ 7 = { }
613
+ 1 = { change_art_quality = { amount = -2 } }
614
+ }
615
+ change_art_quality = { amount = 1 }
616
+ }
617
+ ai_chance = {
618
+ factor = 1
619
+ }
620
+ }
621
+ option = {
622
+ name = promoting_art_events.6.b
623
+ add_adm_power = -100
624
+ hidden_effect = {
625
+ random_list = {
626
+ 1 = { change_art_progress = { amount = 1 } }
627
+ 1 = { }
628
+ }
629
+ random_list = {
630
+ 1 = { change_art_quality = { amount = 1 } }
631
+ 1 = { }
632
+ }
633
+
634
+ }
635
+ ai_chance = {
636
+ factor = 1
637
+ }
638
+ }
639
+ option = {
640
+ name = promoting_art_events.6.c
641
+ add_prestige = -5
642
+ hidden_effect = {
643
+ random_list = {
644
+ 1 = { change_art_progress = { amount = -2 } }
645
+ 1 = { change_art_progress = { amount = 1 } }
646
+ 1 = { }
647
+ }
648
+ random_list = {
649
+ 1 = { change_art_quality = { amount = -1 } }
650
+ 1 = { }
651
+ }
652
+ }
653
+ ai_chance = {
654
+ factor = 1
655
+ }
656
+ }
657
+ option = {
658
+ name = promoting_art_events.6.d
659
+ highlight = yes
660
+ trigger = {
661
+ alliance_with = event_target:target_country
662
+ }
663
+ add_mutual_opinion_modifier_effect = {
664
+ modifier = per_traveling_artist
665
+ target = event_target:target_country
666
+ }
667
+ hidden_effect = {
668
+ change_art_quality = { amount = 1 }
669
+ }
670
+ ai_chance = {
671
+ factor = 1
672
+ }
673
+ }
674
+ after = {
675
+ hidden_effect = {
676
+ change_art_progress = { amount = 1 }
677
+ }
678
+ }
679
+ }
680
+
681
+ #Artist requires specific trade goods
682
+ country_event = {
683
+ id = promoting_art_events.7
684
+ title = promoting_art_events.7.t
685
+ desc = promoting_art_events.7.desc
686
+ picture = ARTWORK_eventPicture
687
+ trigger = {
688
+ has_government_mechanic = persian_influence_mechanic
689
+ has_country_modifier = promoting_art
690
+ }
691
+ is_triggered_only = yes
692
+ mean_time_to_happen = { days = 1 }
693
+ option = {
694
+ name = promoting_art_events.7.a
695
+ add_mercantilism = -2
696
+ add_years_of_income = -0.1
697
+ hidden_effect = {
698
+ change_art_quality = { amount = 2 }
699
+ change_art_progress = { amount = 1 }
700
+ }
701
+ ai_chance = {
702
+ factor = 1
703
+ }
704
+ }
705
+ option = {
706
+ name = promoting_art_events.7.b
707
+ trigger = {
708
+ has_estate = estate_burghers
709
+ }
710
+ hidden_effect = {
711
+ change_art_quality = { amount = 1 }
712
+ }
713
+ add_estate_loyalty = {
714
+ estate = estate_burghers
715
+ loyalty = -20
716
+ }
717
+ ai_chance = {
718
+ factor = 1
719
+ }
720
+ }
721
+ option = {
722
+ name = promoting_art_events.7.c
723
+ add_prestige = -5
724
+ hidden_effect = {
725
+ change_art_quality = { amount = -2 }
726
+ change_art_progress = { amount = -2 }
727
+ }
728
+ ai_chance = {
729
+ factor = 1
730
+ }
731
+ }
732
+ after = {
733
+ hidden_effect = {
734
+ change_art_progress = { amount = 1 }
735
+ }
736
+ }
737
+ }
events/PersonalityEvents.txt CHANGED
@@ -2139,13 +2139,23 @@ country_event = {
2139
2139
  title = "personality_events.30.t"
2140
2140
  desc = "personality_events.30.d"
2141
2141
  picture = ECONOMICALLY_TALLANTED_RULER_eventPicture
2142
-
2142
+ goto = target_province
2143
2143
  trigger = {
2144
2144
  has_dlc = "Rights of Man"
2145
2145
  ruler_has_personality_ancestor = { key = midas_touched }
2146
2146
  }
2147
2147
 
2148
2148
  is_triggered_only = yes
2149
+ immediate = {
2150
+ hidden_effect = {
2151
+ random_owned_province = {
2152
+ limit = {
2153
+ is_in_capital_area = yes
2154
+ }
2155
+ save_event_target_as = target_province
2156
+ }
2157
+ }
2158
+ }
2149
2159
 
2150
2160
  mean_time_to_happen = {
2151
2161
  days = 1
@@ -2153,10 +2163,7 @@ country_event = {
2153
2163
 
2154
2164
  option = {
2155
2165
  name = "personality_events.30.a" #
2156
- random_owned_province = {
2157
- limit = {
2158
- is_in_capital_area = yes
2159
- }
2166
+ event_target:target_province = {
2160
2167
  add_base_tax = 1
2161
2168
  }
2162
2169
  }
events/PirateEvents.txt CHANGED
@@ -732,7 +732,7 @@ country_event = {
732
732
  set_global_flag = grace_omalley_flag
733
733
  country_event = { id = women_history_events.22 }
734
734
  }
735
- option = { # François l'Olonnais
735
+ option = { # Fran�ois l'Olonnais
736
736
  name = "pirates.1.p"
737
737
  ai_chance = { factor = 500 }
738
738
  trigger = {
@@ -744,7 +744,7 @@ country_event = {
744
744
  }
745
745
  }
746
746
  define_ruler = {
747
- name = "François l'Olonnais"
747
+ name = "Fran�ois l'Olonnais"
748
748
  adm = 3
749
749
  dip = 1
750
750
  mil = 5
events/PriceChanges.txt CHANGED
@@ -108,7 +108,7 @@ country_event = {
108
108
  }
109
109
  }
110
110
 
111
- #Johann Friedrich B�ttger
111
+ #Johann Friedrich B�ttger
112
112
  country_event = {
113
113
  id = prices.3
114
114
  title = prices.3.t
@@ -2484,7 +2484,7 @@ country_event = {
2484
2484
  has_country_flag = bohemian_crystal_flag
2485
2485
  AND = {
2486
2486
  OR = {
2487
- NOT = { has_dlc = Emperor }
2487
+ NOT = { has_dlc = "Emperor" }
2488
2488
  NOT = { BOH = { owns = 1771 } }
2489
2489
  }
2490
2490
  NOT = { has_global_flag = bohemian_glass }
events/PropagateReligionEvents.txt CHANGED
@@ -666,8 +666,8 @@ country_event = {
666
666
  religion_group = muslim
667
667
  }
668
668
  add_mutual_opinion_modifier_effect = {
669
- scope_country = ROOT
670
- opinion_modifier = converted_to_islam
669
+ target = ROOT
670
+ modifier = converted_to_islam
671
671
  }
672
672
  }
673
673
  }
@@ -813,6 +813,7 @@ country_event = {
813
813
  has_dlc = "Cradle of Civilization"
814
814
  any_active_trade_node = {
815
815
  any_country_active_in_node = {
816
+ religion_group = muslim
816
817
  trading_policy_in_node = {
817
818
  node = PREV
818
819
  policy = propagate_religion
@@ -834,6 +835,7 @@ country_event = {
834
835
  random_active_trade_node = {
835
836
  limit = {
836
837
  any_country = {
838
+ religion_group = muslim
837
839
  trading_policy_in_node = {
838
840
  node = PREV
839
841
  policy = propagate_religion
@@ -848,6 +850,7 @@ country_event = {
848
850
  }
849
851
  random_country = {
850
852
  limit = {
853
+ religion_group = muslim
851
854
  trading_policy_in_node = {
852
855
  node = PREV
853
856
  policy = propagate_religion
@@ -902,6 +905,7 @@ country_event = {
902
905
  }
903
906
  any_active_trade_node = {
904
907
  any_country = {
908
+ religion_group = muslim
905
909
  trading_policy_in_node = {
906
910
  node = PREV
907
911
  policy = propagate_religion
@@ -926,6 +930,7 @@ country_event = {
926
930
  random_active_trade_node = {
927
931
  limit = {
928
932
  any_country = {
933
+ religion_group = muslim
929
934
  trading_policy_in_node = {
930
935
  node = PREV
931
936
  policy = propagate_religion
@@ -939,6 +944,7 @@ country_event = {
939
944
  }
940
945
  random_country = {
941
946
  limit = {
947
+ religion_group = muslim
942
948
  trading_policy_in_node = {
943
949
  node = PREV
944
950
  policy = propagate_religion
@@ -992,6 +998,7 @@ province_event = {
992
998
  }
993
999
  any_country = {
994
1000
  NOT = { war_with = ROOT }
1001
+ religion_group = muslim
995
1002
  trading_policy_in_node = {
996
1003
  node = ROOT
997
1004
  policy = propagate_religion
@@ -1006,6 +1013,7 @@ province_event = {
1006
1013
  random_country = {
1007
1014
  limit = {
1008
1015
  NOT = { war_with = ROOT }
1016
+ religion_group = muslim
1009
1017
  trading_policy_in_node = {
1010
1018
  node = ROOT
1011
1019
  policy = propagate_religion
events/PurelyNasty.txt CHANGED
@@ -46,6 +46,10 @@ province_event = {
46
46
  factor = 1.4
47
47
  owner = { stability = 3 }
48
48
  }
49
+ modifier = {
50
+ factor = 1.5
51
+ owner = { has_country_flag = BYZ_less_rebel_sentiment }
52
+ }
49
53
  modifier = {
50
54
  factor = 1.5
51
55
  NOT = { owner = { overextension_percentage = 1.1 } }
events/Purple_Phoenix_events.txt CHANGED
@@ -15,7 +15,8 @@ country_event = {
15
15
  has_dlc = "Purple Phoenix"
16
16
  num_of_cities = 8
17
17
  has_idea_group = BYZ_ideas
18
- NOT = { has_idea = byz_admin_power }
18
+ has_reform = byzantine_autocracy_reform
19
+ not = { has_idea = byz_corpus_iuris_civilis }
19
20
  government = monarchy
20
21
  NOT = { has_reform = steppe_horde }
21
22
  OR = {
@@ -320,8 +321,9 @@ country_event = {
320
321
  trigger = {
321
322
  tag = BYZ
322
323
  has_dlc = "Purple Phoenix"
323
- NOT = { has_idea = byz_admin_power }
324
+ has_reform = byzantine_autocracy_reform
324
325
  has_idea_group = BYZ_ideas
326
+ not = { has_idea = byz_corpus_iuris_civilis }
325
327
  OR = {
326
328
  NOT = { has_country_flag = recent_BYZ_factions }
327
329
  had_country_flag = { flag = recent_BYZ_factions days = 365 }
@@ -331,7 +333,7 @@ country_event = {
331
333
  immediate = { set_country_flag = recent_BYZ_factions }
332
334
 
333
335
  mean_time_to_happen = {
334
- months = 36
336
+ months = 72
335
337
  }
336
338
 
337
339
  option = {
@@ -351,8 +353,9 @@ country_event = {
351
353
  trigger = {
352
354
  tag = BYZ
353
355
  has_dlc = "Purple Phoenix"
354
- NOT = { has_idea = byz_admin_power }
356
+ has_reform = byzantine_autocracy_reform
355
357
  has_idea_group = BYZ_ideas
358
+ not = { has_idea = byz_corpus_iuris_civilis }
356
359
  OR = {
357
360
  NOT = { has_country_flag = recent_BYZ_factions }
358
361
  had_country_flag = { flag = recent_BYZ_factions days = 365 }
@@ -381,8 +384,9 @@ country_event = {
381
384
  trigger = {
382
385
  tag = BYZ
383
386
  has_dlc = "Purple Phoenix"
384
- NOT = { has_idea = byz_admin_power }
387
+ has_reform = byzantine_autocracy_reform
385
388
  has_idea_group = BYZ_ideas
389
+ not = { has_idea = byz_corpus_iuris_civilis }
386
390
  OR = {
387
391
  NOT = { has_country_flag = recent_BYZ_factions }
388
392
  had_country_flag = { flag = recent_BYZ_factions days = 365 }
@@ -392,7 +396,7 @@ country_event = {
392
396
  immediate = { set_country_flag = recent_BYZ_factions }
393
397
 
394
398
  mean_time_to_happen = {
395
- months = 36
399
+ months = 72
396
400
  }
397
401
 
398
402
  option = {
@@ -411,8 +415,9 @@ country_event = {
411
415
  trigger = {
412
416
  tag = BYZ
413
417
  has_dlc = "Purple Phoenix"
414
- NOT = { has_idea = byz_admin_power }
418
+ has_reform = byzantine_autocracy_reform
415
419
  has_idea_group = BYZ_ideas
420
+ not = { has_idea = byz_corpus_iuris_civilis }
416
421
  OR = {
417
422
  NOT = { has_country_flag = recent_BYZ_factions }
418
423
  had_country_flag = { flag = recent_BYZ_factions days = 365 }
@@ -441,8 +446,9 @@ country_event = {
441
446
  trigger = {
442
447
  tag = BYZ
443
448
  has_dlc = "Purple Phoenix"
444
- NOT = { has_idea = byz_admin_power }
449
+ has_reform = byzantine_autocracy_reform
445
450
  has_idea_group = BYZ_ideas
451
+ not = { has_idea = byz_corpus_iuris_civilis }
446
452
  OR = {
447
453
  NOT = { has_country_flag = recent_BYZ_factions }
448
454
  had_country_flag = { flag = recent_BYZ_factions days = 365 }
@@ -452,7 +458,7 @@ country_event = {
452
458
  immediate = { set_country_flag = recent_BYZ_factions }
453
459
 
454
460
  mean_time_to_happen = {
455
- months = 36
461
+ months = 72
456
462
  }
457
463
 
458
464
  option = {
@@ -472,7 +478,8 @@ country_event = {
472
478
  tag = BYZ
473
479
  has_dlc = "Purple Phoenix"
474
480
  has_idea_group = BYZ_ideas
475
- NOT = { has_idea = byz_admin_power }
481
+ not = { has_idea = byz_corpus_iuris_civilis }
482
+ has_reform = byzantine_autocracy_reform
476
483
  OR = {
477
484
  NOT = { has_country_flag = recent_BYZ_factions }
478
485
  had_country_flag = { flag = recent_BYZ_factions days = 365 }
events/RandomEvents.txt CHANGED
@@ -10013,7 +10013,7 @@ country_event = {
10013
10013
  }
10014
10014
  }
10015
10015
 
10016
- ### Scripted by Sara Wendelrtqvist ###
10016
+ ### Scripted by Sara Wendel-�rtqvist ###
10017
10017
 
10018
10018
  namespace = random_event
10019
10019
 
events/RepublicFactions.txt CHANGED
@@ -1717,7 +1717,7 @@ country_event = {
1717
1717
  }
1718
1718
 
1719
1719
  option = {
1720
- name = "republic_factions.103.b" # Well What do these villains seriously want?
1720
+ name = "republic_factions.103.b" # Well What do these villains seriously want?
1721
1721
  custom_tooltip = republic_factions.103.b.tt
1722
1722
  add_stability = -1
1723
1723
  add_years_of_income = -0.25
events/Special_Regencies.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  ###########################################################
2
2
  # Events for Special Regencies
3
3
  #
4
- # written by Verónica Pazos
4
+ # written by Ver�nica Pazos
5
5
  ###########################################################
6
6
 
7
7
  namespace = special_regency_events
@@ -81,7 +81,7 @@ country_event = {
81
81
  }
82
82
  }
83
83
 
84
- # Recovering the Château de Chenonceau
84
+ # Recovering the Ch�teau de Chenonceau
85
85
  country_event = {
86
86
  id = special_regency_events.2
87
87
  title = special_regency_events.2.t
events/TradePolicyEvents.txt CHANGED
@@ -31,7 +31,7 @@ country_event = {
31
31
  any_active_trade_node = {
32
32
  any_country = {
33
33
  NOT = { tag = ROOT }
34
- trading_policy_in_node = {
34
+ trading_policy_or_upgraded_policy_in_node = {
35
35
  node = PREV
36
36
  policy = establish_communities
37
37
  }
@@ -57,7 +57,7 @@ country_event = {
57
57
  limit = {
58
58
  any_country = {
59
59
  NOT = { tag = ROOT }
60
- trading_policy_in_node = {
60
+ trading_policy_or_upgraded_policy_in_node = {
61
61
  node = PREV
62
62
  policy = establish_communities
63
63
  }
@@ -78,7 +78,7 @@ country_event = {
78
78
  random_country = {
79
79
  limit = {
80
80
  NOT = { tag = ROOT }
81
- trading_policy_in_node = {
81
+ trading_policy_or_upgraded_policy_in_node = {
82
82
  node = PREV
83
83
  policy = establish_communities
84
84
  }
@@ -153,7 +153,7 @@ country_event = {
153
153
  has_dlc = "Cradle of Civilization"
154
154
  any_active_trade_node = {
155
155
  ROOT = {
156
- trading_policy_in_node = {
156
+ trading_policy_or_upgraded_policy_in_node = {
157
157
  node = PREV
158
158
  policy = establish_communities
159
159
  }
@@ -186,7 +186,7 @@ country_event = {
186
186
  random_active_trade_node = {
187
187
  limit = {
188
188
  ROOT = {
189
- trading_policy_in_node = {
189
+ trading_policy_or_upgraded_policy_in_node = {
190
190
  node = PREV
191
191
  policy = establish_communities
192
192
  }
@@ -310,7 +310,7 @@ country_event = {
310
310
  any_country = {
311
311
  NOT = { tag = ROOT }
312
312
  NOT = { war_with = ROOT }
313
- trading_policy_in_node = {
313
+ trading_policy_or_upgraded_policy_in_node = {
314
314
  node = PREV
315
315
  policy = improve_inland_routes
316
316
  }
@@ -329,7 +329,7 @@ country_event = {
329
329
  any_country = {
330
330
  NOT = { tag = ROOT }
331
331
  NOT = { war_with = ROOT }
332
- trading_policy_in_node = {
332
+ trading_policy_or_upgraded_policy_in_node = {
333
333
  node = PREV
334
334
  policy = improve_inland_routes
335
335
  }
@@ -343,7 +343,7 @@ country_event = {
343
343
  limit = {
344
344
  NOT = { tag = ROOT }
345
345
  NOT = { war_with = ROOT }
346
- trading_policy_in_node = {
346
+ trading_policy_or_upgraded_policy_in_node = {
347
347
  node = PREV
348
348
  policy = improve_inland_routes
349
349
  }
@@ -385,7 +385,7 @@ country_event = {
385
385
  has_dlc = "Cradle of Civilization"
386
386
  any_active_trade_node = {
387
387
  ROOT = {
388
- trading_policy_in_node = {
388
+ trading_policy_or_upgraded_policy_in_node = {
389
389
  node = PREV
390
390
  policy = improve_inland_routes
391
391
  }
@@ -408,7 +408,7 @@ country_event = {
408
408
  random_active_trade_node = {
409
409
  limit = {
410
410
  ROOT = {
411
- trading_policy_in_node = {
411
+ trading_policy_or_upgraded_policy_in_node = {
412
412
  node = PREV
413
413
  policy = improve_inland_routes
414
414
  }
@@ -523,7 +523,7 @@ country_event = {
523
523
  any_active_trade_node = {
524
524
  any_country = {
525
525
  NOT = { tag = ROOT }
526
- trading_policy_in_node = {
526
+ trading_policy_or_upgraded_policy_in_node = {
527
527
  node = PREV
528
528
  policy = maximize_profit
529
529
  }
@@ -545,7 +545,7 @@ country_event = {
545
545
  limit = {
546
546
  any_country = {
547
547
  NOT = { tag = ROOT }
548
- trading_policy_in_node = {
548
+ trading_policy_or_upgraded_policy_in_node = {
549
549
  node = PREV
550
550
  policy = maximize_profit
551
551
  }
@@ -561,7 +561,7 @@ country_event = {
561
561
  random_country = {
562
562
  limit = {
563
563
  NOT = { tag = ROOT }
564
- trading_policy_in_node = {
564
+ trading_policy_or_upgraded_policy_in_node = {
565
565
  node = PREV
566
566
  policy = maximize_profit
567
567
  }
@@ -626,7 +626,7 @@ country_event = {
626
626
  has_dlc = "Cradle of Civilization"
627
627
  any_active_trade_node = {
628
628
  ROOT = {
629
- trading_policy_in_node = {
629
+ trading_policy_or_upgraded_policy_in_node = {
630
630
  node = PREV
631
631
  policy = maximize_profit
632
632
  }
@@ -664,7 +664,7 @@ country_event = {
664
664
  random_active_trade_node = {
665
665
  limit = {
666
666
  ROOT = {
667
- trading_policy_in_node = {
667
+ trading_policy_or_upgraded_policy_in_node = {
668
668
  node = PREV
669
669
  policy = maximize_profit
670
670
  }
@@ -751,7 +751,7 @@ country_event = {
751
751
  has_dlc = "Cradle of Civilization"
752
752
  any_active_trade_node = {
753
753
  ROOT = {
754
- trading_policy_in_node = {
754
+ trading_policy_or_upgraded_policy_in_node = {
755
755
  node = PREV
756
756
  policy = maximize_profit
757
757
  }
@@ -773,6 +773,7 @@ country_event = {
773
773
  }
774
774
  }
775
775
  }
776
+ goto = merchant_family_province
776
777
 
777
778
  immediate = {
778
779
  hidden_effect = {
@@ -784,7 +785,7 @@ country_event = {
784
785
  random_active_trade_node = {
785
786
  limit = {
786
787
  ROOT = {
787
- trading_policy_in_node = {
788
+ trading_policy_or_upgraded_policy_in_node = {
788
789
  node = PREV
789
790
  policy = maximize_profit
790
791
  }
@@ -945,7 +946,7 @@ country_event = {
945
946
  strongest_trade_power = { #The strongest trade power in the node is maximizing profits
946
947
  NOT = { tag = ROOT }
947
948
  NOT = { war_with = ROOT }
948
- trading_policy_in_node = {
949
+ trading_policy_or_upgraded_policy_in_node = {
949
950
  node = PREV
950
951
  policy = maximize_profit
951
952
  }
@@ -986,7 +987,7 @@ country_event = {
986
987
  strongest_trade_power = { #The strongest trade power in the node is maximizing profits
987
988
  NOT = { tag = ROOT }
988
989
  NOT = { war_with = ROOT }
989
- trading_policy_in_node = {
990
+ trading_policy_or_upgraded_policy_in_node = {
990
991
  node = PREV
991
992
  policy = maximize_profit
992
993
  }
@@ -1100,7 +1101,7 @@ country_event = {
1100
1101
  AND = {
1101
1102
  tag = ROOT
1102
1103
  NOT = {
1103
- trading_policy_in_node = {
1104
+ trading_policy_or_upgraded_policy_in_node = {
1104
1105
  node = PREV
1105
1106
  policy = maximize_profit
1106
1107
  }
@@ -1139,7 +1140,7 @@ country_event = {
1139
1140
  AND = {
1140
1141
  tag = ROOT
1141
1142
  NOT = {
1142
- trading_policy_in_node = {
1143
+ trading_policy_or_upgraded_policy_in_node = {
1143
1144
  node = PREV
1144
1145
  policy = maximize_profit
1145
1146
  }
events/TribalSuccession.txt CHANGED
@@ -28,7 +28,7 @@ country_event = {
28
28
  NOT = { has_estate_privilege = estate_nomadic_tribes_secured_succession }
29
29
  NOT = {
30
30
  heir_total_stats = {
31
- stats = 12
31
+ amount = 12
32
32
  }
33
33
  }
34
34
  }
events/coup_in_palace.txt CHANGED
@@ -366,7 +366,10 @@ country_event = { #The Aftermath
366
366
 
367
367
  is_triggered_only = yes
368
368
 
369
- immediate = { set_country_flag = plot_ended_flag }
369
+ immediate = {
370
+ on_non_estate_disaster_end = yes
371
+ set_country_flag = plot_ended_flag
372
+ }
370
373
 
371
374
  option = {
372
375
  name = coup_in_palace_events.6.a #What now?
events/disaster_CastilianCivilWar.txt CHANGED
@@ -89,6 +89,9 @@ country_event = {
89
89
  set_country_flag = cas_portugal_candidate
90
90
  custom_tooltip = "castilian_civil_war.1.a.tt"
91
91
  add_legitimacy = -20
92
+ define_heir = {
93
+ dynasty = ROOT
94
+ }
92
95
  random_owned_province = {
93
96
  limit = {
94
97
  has_province_flag = cas_civil_war_start
@@ -573,6 +576,7 @@ country_event = {
573
576
  }
574
577
 
575
578
  immediate = {
579
+ on_non_estate_disaster_end = yes
576
580
  hidden_effect = {
577
581
  set_country_flag = spa_cas_ended_civil_war_flag
578
582
  }
events/disaster_CivilWar.txt CHANGED
@@ -73,14 +73,19 @@ country_event = {
73
73
  days = 1
74
74
  }
75
75
 
76
+ immediate = {
77
+ on_non_estate_disaster_end = yes
78
+ hidden_effect = {
79
+ clr_country_flag = civilwar_on_capital
80
+ clr_country_flag = total_war_peak
81
+ clr_country_flag = favoured_faction
82
+ clr_country_flag = dominant_faction
83
+ clr_country_flag = civil_war_knees_event
84
+ }
85
+ }
76
86
 
77
87
  option = {
78
88
  name = "EVTOPTA3096"
79
- clr_country_flag = civilwar_on_capital
80
- clr_country_flag = total_war_peak
81
- clr_country_flag = favoured_faction
82
- clr_country_flag = dominant_faction
83
- clr_country_flag = civil_war_knees_event
84
89
  add_legitimacy = 10
85
90
  add_horde_unity = 10
86
91
  add_mandate_large_effect = yes
events/disaster_DAN_CountsFeud.txt CHANGED
@@ -403,11 +403,17 @@ country_event = {
403
403
  mean_time_to_happen = {
404
404
  days = 1
405
405
  }
406
+
407
+ immediate = {
408
+ on_non_estate_disaster_end = yes
409
+ hidden_effect = {
410
+ clr_country_flag = pretender_flag
411
+ clr_country_flag = monarch_flag
412
+ }
413
+ }
406
414
 
407
415
  option = {
408
416
  name = counts_feud.100.a
409
- clr_country_flag = pretender_flag
410
- clr_country_flag = monarch_flag
411
417
  add_prestige = 10
412
418
  add_legitimacy = 10
413
419
  add_treasury = 50
events/disaster_ENG_WarOfTheRoses.txt CHANGED
@@ -1127,6 +1127,7 @@ country_event = {
1127
1127
  is_triggered_only = yes
1128
1128
 
1129
1129
  immediate = {
1130
+ on_non_estate_disaster_end = yes
1130
1131
  hidden_effect = {
1131
1132
 
1132
1133
  # Clear Flags
events/disaster_GeorgianCrisis.txt ADDED
@@ -0,0 +1,331 @@
1
+ ########################################
2
+ # Made by Parmelion
3
+ ########################################
4
+
5
+ namespace = georgian_crisis
6
+
7
+ # Georgian Crisis
8
+ country_event = {
9
+ id = georgian_crisis.1
10
+ title = georgian_crisis.1.t
11
+ desc = georgian_crisis.1.d
12
+ picture = ANGRY_MOB_eventPicture
13
+
14
+ is_triggered_only = yes
15
+
16
+ major = yes
17
+
18
+ immediate = {
19
+ hidden_effect = { set_country_flag = geo_crisis_fired }
20
+ }
21
+
22
+ option = {
23
+ name = "georgian_crisis.1.a"
24
+ add_stability = -2
25
+ random_owned_province = {
26
+ limit = { is_core = ROOT }
27
+ spawn_rebels = {
28
+ type = pretender_rebels
29
+ religion = ROOT
30
+ size = 1
31
+ }
32
+ }
33
+ random_owned_province = {
34
+ limit = { is_core = ROOT }
35
+ spawn_rebels = {
36
+ type = pretender_rebels
37
+ religion = ROOT
38
+ size = 1
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ # Order Restored
45
+ country_event = {
46
+ id = georgian_crisis.2
47
+ title = georgian_crisis.2.t
48
+ desc = georgian_crisis.2.d
49
+ picture = GOOD_WITH_MONARCH_eventPicture
50
+
51
+ is_triggered_only = yes
52
+
53
+ major = yes
54
+ immediate = {
55
+ on_non_estate_disaster_end = yes
56
+ }
57
+
58
+ option = {
59
+ name = "georgian_crisis.2.a"
60
+ add_stability_or_adm_power = yes
61
+ set_country_flag = geo_crisis_completed
62
+ }
63
+ }
64
+
65
+ # Atabegs Declare Independence
66
+ country_event = {
67
+ id = georgian_crisis.3
68
+ title = georgian_crisis.3.t
69
+ desc = georgian_crisis.3.d
70
+ picture = HORDE_ON_HORSEBACK_eventPicture
71
+
72
+ fire_only_once = yes
73
+
74
+ trigger = {
75
+ has_disaster = georgian_crisis
76
+ OR = {
77
+ AND = {
78
+ owns = 2204
79
+ owns = 4303
80
+ }
81
+ SME = {
82
+ is_subject_of = ROOT
83
+ }
84
+ }
85
+ }
86
+
87
+ option = {
88
+ name = "georgian_crisis.3.a"
89
+ if = {
90
+ limit = {
91
+ SME = {
92
+ is_subject_of = ROOT
93
+ }
94
+ }
95
+ SME = {
96
+ grant_independence = yes
97
+ }
98
+ declare_war_with_cb = {
99
+ who = SME
100
+ casus_belli = cb_core
101
+ war_goal_province = 2204
102
+ }
103
+ hidden_effect = {
104
+ SME = {
105
+ set_dynasty = "Jaqeli"
106
+ change_government = monarchy
107
+ add_government_reform = autocracy_reform
108
+ change_religion = orthodox
109
+ capital_scope = {
110
+ build_to_forcelimit = {
111
+ infantry = 0.8
112
+ cavalry = 0.2
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ else_if = {
119
+ limit = {
120
+ owns = 2204
121
+ owns = 4303
122
+ }
123
+ release = SME
124
+ declare_war_with_cb = {
125
+ who = SME
126
+ casus_belli = cb_core
127
+ war_goal_province = 2204
128
+ }
129
+ hidden_effect = {
130
+ SME = {
131
+ set_dynasty = "Jaqeli"
132
+ change_government = monarchy
133
+ add_government_reform = autocracy_reform
134
+ change_religion = orthodox
135
+ capital_scope = {
136
+ build_to_forcelimit = {
137
+ infantry = 0.8
138
+ cavalry = 0.2
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ option = {
147
+ name = "georgian_crisis.3.b"
148
+ add_legitimacy = -20
149
+ if = {
150
+ limit = {
151
+ SME = {
152
+ is_subject_of = ROOT
153
+ }
154
+ }
155
+ SME = {
156
+ grant_independence = yes
157
+ }
158
+ add_truce_with = SME
159
+ }
160
+ else_if = {
161
+ limit = {
162
+ owns = 2204
163
+ owns = 4303
164
+ }
165
+ release = SME
166
+ add_truce_with = SME
167
+ hidden_effect = {
168
+ SME = {
169
+ set_dynasty = "Jaqeli"
170
+ change_government = monarchy
171
+ add_government_reform = autocracy_reform
172
+ change_religion = orthodox
173
+ capital_scope = {
174
+ build_to_forcelimit = {
175
+ infantry = 0.8
176
+ cavalry = 0.2
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+
185
+ # Imereti Declares Independence
186
+ country_event = {
187
+ id = georgian_crisis.4
188
+ title = georgian_crisis.4.t
189
+ desc = georgian_crisis.4.d
190
+ picture = BAD_WITH_MONARCH_eventPicture
191
+
192
+ fire_only_once = yes
193
+
194
+ trigger = {
195
+ has_disaster = georgian_crisis
196
+ OR = {
197
+ AND = {
198
+ owns = 422
199
+ owns = 462
200
+ owns = 1856
201
+ }
202
+ IME = {
203
+ is_subject_of = ROOT
204
+ }
205
+ }
206
+ NOT = { has_country_flag = geo_crisis_completed }
207
+ NOT = {
208
+ mission_completed = geo_preventing_collapse
209
+ }
210
+ }
211
+
212
+ option = {
213
+ name = "georgian_crisis.4.a"
214
+ if = {
215
+ limit = {
216
+ IME = {
217
+ is_subject_of = ROOT
218
+ }
219
+ }
220
+ IME = {
221
+ grant_independence = yes
222
+ }
223
+ declare_war_with_cb = {
224
+ who = IME
225
+ casus_belli = cb_core
226
+ war_goal_province = 422
227
+ }
228
+ hidden_effect = {
229
+ IME = {
230
+ define_ruler = {
231
+ name = "Demetre"
232
+ dynasty = "Bagrationi"
233
+ adm = 3
234
+ dip = 4
235
+ mil = 3
236
+ claim = 95
237
+ }
238
+ change_government = monarchy
239
+ add_government_reform = autocracy_reform
240
+ change_religion = orthodox
241
+ capital_scope = {
242
+ build_to_forcelimit = {
243
+ infantry = 0.8
244
+ cavalry = 0.2
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
250
+ else_if = {
251
+ limit = {
252
+ owns = 422
253
+ owns = 462
254
+ owns = 1856
255
+ }
256
+ release = IME
257
+ declare_war_with_cb = {
258
+ who = IME
259
+ casus_belli = cb_core
260
+ war_goal_province = 422
261
+ }
262
+ hidden_effect = {
263
+ IME = {
264
+ define_ruler = {
265
+ name = "Demetre"
266
+ dynasty = "Bagrationi"
267
+ adm = 3
268
+ dip = 4
269
+ mil = 3
270
+ claim = 95
271
+ }
272
+ change_government = monarchy
273
+ add_government_reform = autocracy_reform
274
+ change_religion = orthodox
275
+ capital_scope = {
276
+ build_to_forcelimit = {
277
+ infantry = 0.8
278
+ cavalry = 0.2
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ }
285
+
286
+ option = {
287
+ name = "georgian_crisis.4.b"
288
+ add_legitimacy = -20
289
+ if = {
290
+ limit = {
291
+ IME = {
292
+ is_subject_of = ROOT
293
+ }
294
+ }
295
+ IME = {
296
+ grant_independence = yes
297
+ }
298
+ add_truce_with = IME
299
+ }
300
+ else_if = {
301
+ limit = {
302
+ owns = 422
303
+ owns = 462
304
+ owns = 1856
305
+ }
306
+ release = IME
307
+ add_truce_with = IME
308
+ hidden_effect = {
309
+ IME = {
310
+ define_ruler = {
311
+ name = "Demetre"
312
+ dynasty = "Bagrationi"
313
+ adm = 3
314
+ dip = 4
315
+ mil = 3
316
+ claim = 95
317
+ }
318
+ change_government = monarchy
319
+ add_government_reform = autocracy_reform
320
+ change_religion = orthodox
321
+ capital_scope = {
322
+ build_to_forcelimit = {
323
+ infantry = 0.8
324
+ cavalry = 0.2
325
+ }
326
+ }
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
events/disaster_InternalConflicts.txt CHANGED
@@ -353,8 +353,9 @@ country_event = {
353
353
  days = 1
354
354
  }
355
355
  major = yes
356
-
357
-
356
+ immediate = {
357
+ on_non_estate_disaster_end = yes
358
+ }
358
359
 
359
360
  option = {
360
361
  name = "EVTOPTA3008" # Restore order
events/disaster_Liberalism.txt CHANGED
@@ -136,6 +136,9 @@ country_event = {
136
136
  picture = CITY_VIEW_eventPicture
137
137
 
138
138
  is_triggered_only = yes
139
+ immediate = {
140
+ on_non_estate_disaster_end = yes
141
+ }
139
142
 
140
143
  option = {
141
144
  name = "EVTOPTA1064"
events/disaster_PeasantsWar.txt CHANGED
@@ -290,6 +290,9 @@ country_event = {
290
290
  mean_time_to_happen = {
291
291
  days = 1
292
292
  }
293
+ immediate = {
294
+ on_non_estate_disaster_end = yes
295
+ }
293
296
 
294
297
 
295
298
  option = {
events/disaster_ReligiousTurmoil.txt CHANGED
@@ -69,6 +69,7 @@ country_event = {
69
69
  is_triggered_only = yes
70
70
 
71
71
  immediate = {
72
+ on_non_estate_disaster_end = yes
72
73
  hidden_effect = { clr_country_flag = active_religious_turmoil }
73
74
  }
74
75
 
events/disaster_Revolution.txt CHANGED
@@ -764,6 +764,7 @@ country_event = {
764
764
  }
765
765
 
766
766
  immediate = {
767
+ on_non_estate_disaster_end = yes
767
768
  hidden_effect = {
768
769
  if = {
769
770
  limit = {
@@ -1151,6 +1152,18 @@ country_event = {
1151
1152
  option = {
1152
1153
  name = "EVTOPTA6606"
1153
1154
  enact_revolution_effect = yes
1155
+
1156
+ if = {
1157
+ limit = {
1158
+ tag = FRA
1159
+ OR = {
1160
+ is_revolution_target = yes
1161
+ is_revolutionary = yes
1162
+ }
1163
+ has_dlc = "Domination"
1164
+ }
1165
+ country_event = { id = ideagroups.1 }
1166
+ }
1154
1167
  }
1155
1168
  }
1156
1169
 
events/disaster_SWE_TheDackeFeud.txt CHANGED
@@ -263,6 +263,7 @@ country_event = {
263
263
  is_triggered_only = yes
264
264
 
265
265
  immediate = {
266
+ on_non_estate_disaster_end = yes
266
267
  hidden_effect = {
267
268
  every_owned_province = {
268
269
  clr_province_flag = dacke_prov
events/disaster_TUR_JanissaryDecadence.txt CHANGED
@@ -423,6 +423,7 @@ country_event = {
423
423
  is_triggered_only = yes
424
424
 
425
425
  immediate = {
426
+ on_non_estate_disaster_end = yes
426
427
  hidden_effect = {
427
428
  random_owned_province = {
428
429
  limit = {
events/disaster_ambrosian_republic.txt CHANGED
@@ -49,6 +49,7 @@ country_event = {
49
49
  is_triggered_only = yes
50
50
 
51
51
  immediate = {
52
+ on_non_estate_disaster_end = yes
52
53
  hidden_effect = {
53
54
  set_country_flag = ambrosian_republic_completely_resolved
54
55
  }
events/disaster_court_and_country.txt CHANGED
@@ -755,6 +755,10 @@ country_event = {
755
755
 
756
756
 
757
757
  is_triggered_only = yes
758
+
759
+ immediate = {
760
+ on_non_estate_disaster_end = yes
761
+ }
758
762
 
759
763
  major = yes
760
764
 
events/disaster_dutch_revolt.txt CHANGED
@@ -21,6 +21,7 @@ country_event = {
21
21
  is_triggered_only = yes
22
22
 
23
23
  immediate = {
24
+ on_non_estate_disaster_end = yes
24
25
  hidden_effect = {
25
26
  set_country_flag = had_dutch_revolt
26
27
  every_owned_province = {
events/disaster_emperor_of_china_in_name.txt CHANGED
@@ -61,6 +61,10 @@ country_event = {
61
61
  is_triggered_only = yes
62
62
 
63
63
  major = yes
64
+
65
+ immediate = {
66
+ on_non_estate_disaster_end = yes
67
+ }
64
68
 
65
69
  option = {
66
70
  name = "empire_of_china_in_name.2.a"
events/disaster_empire_of_china_nomadic_border.txt CHANGED
@@ -43,6 +43,10 @@ country_event = {
43
43
  is_triggered_only = yes
44
44
 
45
45
  major = yes
46
+
47
+ immediate = {
48
+ on_non_estate_disaster_end = yes
49
+ }
46
50
 
47
51
  option = {
48
52
  name = "empire_of_china_nomadic_border_events.2.a"
events/disaster_eng_civil_war.txt CHANGED
@@ -815,6 +815,7 @@ country_event = {
815
815
 
816
816
  immediate = {
817
817
  set_country_flag = eng_civil_war_happened
818
+ on_non_estate_disaster_end = yes
818
819
  }
819
820
 
820
821
  option = { # Order has finally been restored
events/disaster_estates.txt CHANGED
@@ -18,7 +18,7 @@ country_event = {
18
18
 
19
19
  immediate = {
20
20
  hidden_effect = {
21
- set_country_flag = noble_estate_in_power
21
+ set_country_flag = estate_nobles_in_power
22
22
  set_country_flag = has_estate_disaster_flag
23
23
  }
24
24
  }
@@ -166,7 +166,7 @@ country_event = {
166
166
 
167
167
  immediate = {
168
168
  hidden_effect = {
169
- set_country_flag = church_estate_in_power
169
+ set_country_flag = estate_church_in_power
170
170
  set_country_flag = has_estate_disaster_flag
171
171
  }
172
172
  }
@@ -211,7 +211,7 @@ country_event = {
211
211
 
212
212
  immediate = {
213
213
  hidden_effect = {
214
- set_country_flag = burghers_estate_in_power
214
+ set_country_flag = estate_burghers_in_power
215
215
  set_country_flag = has_estate_disaster_flag
216
216
  }
217
217
  }
@@ -256,7 +256,7 @@ country_event = {
256
256
 
257
257
  immediate = {
258
258
  hidden_effect = {
259
- set_country_flag = nomadic_tribes_estate_in_power
259
+ set_country_flag = estate_nomadic_tribes_in_power
260
260
  set_country_flag = has_estate_disaster_flag
261
261
  }
262
262
  }
@@ -545,7 +545,7 @@ country_event = {
545
545
 
546
546
  immediate = {
547
547
  hidden_effect = {
548
- set_country_flag = brahmin_estate_in_power
548
+ set_country_flag = estate_brahmins_in_power
549
549
  set_country_flag = has_estate_disaster_flag
550
550
  }
551
551
  }
@@ -590,7 +590,7 @@ country_event = {
590
590
 
591
591
  immediate = {
592
592
  hidden_effect = {
593
- set_country_flag = vaisyas_estate_in_power
593
+ set_country_flag = estate_vaisyas_in_power
594
594
  set_country_flag = has_estate_disaster_flag
595
595
  }
596
596
  }
@@ -709,7 +709,7 @@ country_event = {
709
709
 
710
710
  immediate = {
711
711
  hidden_effect = {
712
- set_country_flag = jains_estate_in_power
712
+ set_country_flag = estate_jains_in_power
713
713
  set_country_flag = has_estate_disaster_flag
714
714
  }
715
715
  }
@@ -763,7 +763,7 @@ country_event = {
763
763
 
764
764
  immediate = {
765
765
  hidden_effect = {
766
- set_country_flag = eunuch_estate_in_power
766
+ set_country_flag = estate_eunuchs_in_power
767
767
  set_country_flag = has_estate_disaster_flag
768
768
  }
769
769
  }
@@ -888,4 +888,127 @@ country_event = {
888
888
  government_reform = janissary_autocracy_reform
889
889
  }
890
890
  }
891
+ }
892
+
893
+ # The Ghulams declare independence!
894
+ country_event = {
895
+ id = estate_disasters.22
896
+ title = estate_disasters.22.t
897
+ desc = estate_disasters.22.d
898
+ picture = GHULAMS_ESTATE_DEMANDS_eventPicture
899
+
900
+ major = yes
901
+ is_triggered_only = yes
902
+
903
+ immediate = {
904
+ set_country_flag = estate_ghulams_triggered
905
+ hidden_effect = {
906
+ if = {
907
+ limit = {
908
+ NOT = {
909
+ estate_territory = {
910
+ estate = estate_ghulams
911
+ territory = 1
912
+ }
913
+ }
914
+ }
915
+ change_estate_land_share = {
916
+ estate = estate_ghulams
917
+ share = 5
918
+ }
919
+ }
920
+ }
921
+ }
922
+
923
+ after = {
924
+ change_estate_land_share = {
925
+ estate = estate_ghulams
926
+ share = -5
927
+ }
928
+ }
929
+
930
+ option = {
931
+ name = estate_disasters.11.a
932
+ if = {
933
+ limit = { has_government_mechanic = ottoman_decadence_mechanic }
934
+ add_government_power = {
935
+ mechanic_type = ottoman_decadence_mechanic
936
+ power_type = ottoman_decadence
937
+ value = 5
938
+ }
939
+ }
940
+ create_independent_estate = {
941
+ estate = estate_ghulams
942
+ play_as = no
943
+ government = monarchy
944
+ government_reform = janissary_autocracy_reform
945
+ }
946
+ }
947
+
948
+ option = {
949
+ name = estate_disasters.11.b
950
+ trigger = {
951
+ ai = no
952
+ has_dlc = "The Cossacks"
953
+ }
954
+ if = {
955
+ limit = { has_government_mechanic = ottoman_decadence_mechanic }
956
+ add_government_power = {
957
+ mechanic_type = ottoman_decadence_mechanic
958
+ power_type = ottoman_decadence
959
+ value = 5
960
+ }
961
+ }
962
+ create_independent_estate = {
963
+ estate = estate_ghulams
964
+ play_as = yes
965
+ government = monarchy
966
+ government_reform = janissary_autocracy_reform
967
+ }
968
+ }
969
+ }
970
+
971
+ # The Qizilbash take control
972
+ country_event = {
973
+ id = estate_disasters.23
974
+ title = estate_disasters.23.t
975
+ desc = estate_disasters.23.d
976
+ picture = QIZILBASH_ESTATE_DEMANDS_eventPicture
977
+
978
+ major = yes
979
+ is_triggered_only = yes
980
+
981
+ immediate = {
982
+ hidden_effect = {
983
+ set_country_flag = estate_qizilbash_in_power
984
+ set_country_flag = has_estate_disaster_flag
985
+ }
986
+ }
987
+
988
+ option = {
989
+ name = estate_disasters.12.a
990
+ add_stability = -1
991
+ custom_tooltip = estate_disasters.23.a.tt
992
+ }
993
+ }
994
+
995
+ # Qizilbash brought to heel
996
+ country_event = {
997
+ id = estate_disasters.24
998
+ title = estate_disasters.24.t
999
+ desc = estate_disasters.24.d
1000
+ picture = QIZILBASH_ESTATE_eventPicture
1001
+
1002
+ major = yes
1003
+ is_triggered_only = yes
1004
+
1005
+ immediate = {
1006
+ hidden_effect = {
1007
+ clr_country_flag = has_estate_disaster_flag
1008
+ }
1009
+ }
1010
+
1011
+ option = {
1012
+ name = estate_disasters.13.a
1013
+ }
891
1014
  }
events/disaster_french_revolution.txt CHANGED
@@ -224,6 +224,17 @@ country_event = {
224
224
  set_country_flag = french_revolution_male_ruler
225
225
  }
226
226
  enact_revolution_effect = yes
227
+ if = {
228
+ limit = {
229
+ tag = FRA
230
+ OR = {
231
+ is_revolution_target = yes
232
+ is_revolutionary = yes
233
+ }
234
+ has_dlc = "Domination"
235
+ }
236
+ country_event = { id = ideagroups.1 }
237
+ }
227
238
  }
228
239
  }
229
240
 
@@ -2163,6 +2174,7 @@ country_event = {
2163
2174
  }
2164
2175
 
2165
2176
  immediate = {
2177
+ on_non_estate_disaster_end = yes
2166
2178
  end_disaster = french_revolution
2167
2179
 
2168
2180
  hidden_effect = {
events/disaster_french_wars_of_religion.txt CHANGED
@@ -1893,6 +1893,7 @@ country_event = {
1893
1893
  }
1894
1894
 
1895
1895
  immediate = {
1896
+ on_non_estate_disaster_end = yes
1896
1897
  set_country_flag = FRA_had_event_3199
1897
1898
  set_country_flag = FRA_wars_of_religion_ended
1898
1899
  }
events/disaster_granada_civil_war.txt CHANGED
@@ -78,6 +78,9 @@ country_event = {
78
78
 
79
79
 
80
80
  is_triggered_only = yes
81
+ immediate = {
82
+ on_non_estate_disaster_end = yes
83
+ }
81
84
 
82
85
  option = {
83
86
  name = "granada_civil_war.2.a"
events/disaster_ming_crisis.txt CHANGED
@@ -764,6 +764,7 @@ country_event = {
764
764
  fire_only_once = yes
765
765
 
766
766
  immediate = {
767
+ on_non_estate_disaster_end = yes
767
768
  hidden_effect = {
768
769
  set_country_flag = ming_crisis_happened
769
770
  }
events/disaster_ottoman_power_struggle.txt CHANGED
@@ -86,6 +86,7 @@ country_event = {
86
86
  major = yes
87
87
 
88
88
  immediate = {
89
+ on_non_estate_disaster_end = yes
89
90
  hidden_effect = {
90
91
  set_country_flag = tur_had_ottoman_power_struggle
91
92
  clr_country_flag = tur_has_ottoman_power_struggle
@@ -99,15 +100,15 @@ country_event = {
99
100
  is_revolutionary = no
100
101
  }
101
102
  change_ruler_stat = {
102
- stat = adm
103
+ type = adm
103
104
  amount = 2
104
105
  }
105
106
  change_ruler_stat = {
106
- stat = dip
107
+ type = dip
107
108
  amount = 2
108
109
  }
109
110
  change_ruler_stat = {
110
- stat = mil
111
+ type = mil
111
112
  amount = 2
112
113
  }
113
114
  if = {
@@ -137,15 +138,15 @@ country_event = {
137
138
  is_revolutionary = no
138
139
  }
139
140
  change_ruler_stat = {
140
- stat = adm
141
+ type = adm
141
142
  amount = 2
142
143
  }
143
144
  change_ruler_stat = {
144
- stat = dip
145
+ type = dip
145
146
  amount = 2
146
147
  }
147
148
  change_ruler_stat = {
148
- stat = mil
149
+ type = mil
149
150
  amount = 2
150
151
  }
151
152
  hidden_effect = {
@@ -175,15 +176,15 @@ country_event = {
175
176
  is_revolutionary = yes
176
177
  }
177
178
  change_ruler_stat = {
178
- stat = adm
179
+ type = adm
179
180
  amount = 2
180
181
  }
181
182
  change_ruler_stat = {
182
- stat = dip
183
+ type = dip
183
184
  amount = 2
184
185
  }
185
186
  change_ruler_stat = {
186
- stat = mil
187
+ type = mil
187
188
  amount = 2
188
189
  }
189
190
  hidden_effect = {
@@ -568,6 +569,7 @@ country_event = {
568
569
  major = yes
569
570
 
570
571
  immediate = {
572
+ on_non_estate_disaster_end = yes
571
573
  hidden_effect = {
572
574
  clr_country_flag = tur_has_janissary_coup
573
575
  clr_country_flag = tur_disable_positive_janissary_privileges
@@ -1486,6 +1488,7 @@ country_event = {
1486
1488
  major = yes
1487
1489
 
1488
1490
  immediate = {
1491
+ on_non_estate_disaster_end = yes
1489
1492
  hidden_effect = {
1490
1493
  set_country_flag = tur_had_eyalet_rebellion
1491
1494
  clr_country_flag = tur_has_eyalet_rebellion
@@ -2393,6 +2396,7 @@ country_event = {
2393
2396
  major = yes
2394
2397
 
2395
2398
  immediate = {
2399
+ on_non_estate_disaster_end = yes
2396
2400
  hidden_effect = {
2397
2401
  set_country_flag = tur_had_pasha_decadence
2398
2402
  clr_country_flag = tur_has_pasha_decadence
@@ -3022,6 +3026,7 @@ country_event = {
3022
3026
  major = yes
3023
3027
 
3024
3028
  immediate = {
3029
+ on_non_estate_disaster_end = yes
3025
3030
  hidden_effect = {
3026
3031
  set_country_flag = tur_had_plot_of_the_harem
3027
3032
  clr_country_flag = tur_has_plot_of_the_harem
@@ -3185,7 +3190,7 @@ country_event = {
3185
3190
  }
3186
3191
  }
3187
3192
 
3188
- #The Height of the Reign of Women - written by Vasilis 'Big Boss' S.
3193
+ #The Height of the Reign of Women - written by Big Boss
3189
3194
  country_event = {
3190
3195
  id = plot_of_the_harem_events.6
3191
3196
  title = plot_of_the_harem_events.6.t
@@ -3290,15 +3295,15 @@ country_event = {
3290
3295
  }
3291
3296
  }
3292
3297
  change_ruler_stat = {
3293
- stat = adm
3298
+ type = adm
3294
3299
  amount = 2
3295
3300
  }
3296
3301
  change_ruler_stat = {
3297
- stat = dip
3302
+ type = dip
3298
3303
  amount = 2
3299
3304
  }
3300
3305
  change_ruler_stat = {
3301
- stat = mil
3306
+ type = mil
3302
3307
  amount = 2
3303
3308
  }
3304
3309
  add_stability = -1
events/disaster_siamese_revolution.txt CHANGED
@@ -66,6 +66,7 @@ country_event = {
66
66
  fire_only_once = yes
67
67
 
68
68
  immediate = {
69
+ on_non_estate_disaster_end = yes
69
70
  hidden_effect = {
70
71
  set_country_flag = had_siamese_revolution
71
72
  }
events/disaster_time_of_troubles.txt CHANGED
@@ -712,6 +712,7 @@ country_event = {
712
712
  days = 1
713
713
  }
714
714
  immediate = {
715
+ on_non_estate_disaster_end = yes
715
716
  set_country_flag = rus_had_time_of_troubles
716
717
  }
717
718
 
events/estate_janissaries.txt CHANGED
@@ -461,7 +461,7 @@ country_event = {
461
461
  }
462
462
  }
463
463
 
464
- # The Mehterân (march band of the Janissaries)
464
+ # The Mehter�n (march band of the Janissaries)
465
465
  country_event = {
466
466
  id = janissaries_estate_events.6
467
467
  title = janissaries_estate_events.6.t
events/flavorAJU.txt CHANGED
@@ -400,6 +400,8 @@ country_event = {
400
400
  desc = flavor_aju.12.d
401
401
  picture = MERCHANTS_TALKING_eventPicture
402
402
  is_triggered_only = yes
403
+
404
+ goto = 613
403
405
 
404
406
  option = {
405
407
  name = flavor_aju.12.a #Nice
events/flavorARB.txt ADDED
@@ -0,0 +1,579 @@
1
+ namespace = flavor_ARB
2
+
3
+ country_event = {
4
+ id = flavor_ARB.1
5
+ title = flavor_ARB.1.t
6
+ desc = flavor_ARB.1.d
7
+ picture = STREET_SPEECH_eventPicture
8
+
9
+ is_triggered_only = yes
10
+
11
+ option = {
12
+ name = flavor_ARB.1.a
13
+
14
+ ai_chance = {
15
+ factor = 1
16
+ }
17
+
18
+ custom_tooltip = ARB_upgrade_enlist_general
19
+ set_country_flag = ARB_upgrade_enlist_general_flag
20
+
21
+ custom_tooltip = " "
22
+
23
+ add_adm_power = 50
24
+ }
25
+
26
+ option = {
27
+ name = flavor_ARB.1.b
28
+
29
+ ai_chance = {
30
+ factor = 1
31
+ }
32
+
33
+ custom_tooltip = ARB_upgrade_train_horsemanship
34
+ set_country_flag = ARB_upgrade_train_horsemanship_flag
35
+
36
+ custom_tooltip = " "
37
+
38
+ add_dip_power = 50
39
+ }
40
+
41
+ option = {
42
+ name = flavor_ARB.1.c
43
+
44
+ ai_chance = {
45
+ factor = 1
46
+ }
47
+
48
+ custom_tooltip = ARB_upgrade_conscript_from_the_tribes
49
+ set_country_flag = ARB_upgrade_conscript_from_the_tribes_flag
50
+
51
+ custom_tooltip = " "
52
+
53
+ add_mil_power = 50
54
+ }
55
+ }
56
+
57
+ country_event = {
58
+ id = flavor_ARB.2
59
+ title = flavor_ARB.2.t
60
+ desc = flavor_ARB.2.d
61
+ picture = ADVISOR_eventPicture
62
+
63
+ is_triggered_only = yes
64
+
65
+ option = {
66
+ name = flavor_ARB.2.a
67
+
68
+ ai_chance = {
69
+ factor = 1
70
+ }
71
+
72
+ define_advisor = {
73
+ type = natural_scientist
74
+ skill = 2
75
+ culture = al_iraqiya_arabic
76
+ religion = ROOT
77
+ cost_multiplier = 0.5
78
+ }
79
+
80
+ custom_tooltip = " "
81
+
82
+ if = {
83
+ limit = {
84
+ has_dlc = "Rule Britannia"
85
+ }
86
+ change_innovativeness = 3
87
+ }
88
+ else = {
89
+ add_adm_power = 25
90
+ add_dip_power = 25
91
+ add_mil_power = 25
92
+ }
93
+ }
94
+
95
+ option = {
96
+ name = flavor_ARB.2.b
97
+
98
+ ai_chance = {
99
+ factor = 1
100
+ }
101
+
102
+ define_advisor = {
103
+ type = theologian
104
+ skill = 2
105
+ culture = al_iraqiya_arabic
106
+ religion = ROOT
107
+ cost_multiplier = 0.5
108
+ }
109
+
110
+ custom_tooltip = " "
111
+
112
+ add_adm_power = 75
113
+ }
114
+
115
+ option = {
116
+ name = flavor_ARB.2.c
117
+
118
+ ai_chance = {
119
+ factor = 1
120
+ }
121
+
122
+ define_advisor = {
123
+ type = philosopher
124
+ skill = 2
125
+ culture = al_iraqiya_arabic
126
+ religion = ROOT
127
+ cost_multiplier = 0.25
128
+ }
129
+
130
+ custom_tooltip = " "
131
+
132
+ add_dip_power = 75
133
+ }
134
+ }
135
+
136
+ country_event = {
137
+ id = flavor_ARB.3
138
+ title = flavor_ARB.3.t
139
+ desc = flavor_ARB.3.d
140
+ picture = DHIMMI_ESTATE_eventPicture
141
+
142
+ is_triggered_only = yes
143
+
144
+ option = {
145
+ name = flavor_ARB.3.a
146
+
147
+ ai_chance = {
148
+ factor = 1
149
+ }
150
+
151
+ #custom_tooltip = ARB_upgrade_the_self_government_privilege
152
+ add_country_modifier = {
153
+ name = ARB_dhimmi_self_government
154
+ duration = 9125
155
+ }
156
+
157
+ add_dip_power = 50
158
+ }
159
+
160
+ option = {
161
+ name = flavor_ARB.3.b
162
+
163
+ ai_chance = {
164
+ factor = 1
165
+ }
166
+
167
+ goto = 379
168
+
169
+ if = {
170
+ limit = {
171
+ NOT = {
172
+ 379 = { religion = ROOT }
173
+ }
174
+ }
175
+ 379 = { change_religion = ROOT }
176
+
177
+ custom_tooltip = " "
178
+ }
179
+
180
+ add_years_of_income = 1
181
+ }
182
+ }
183
+
184
+ country_event = {
185
+ id = flavor_ARB.4
186
+ title = flavor_ARB.4.t
187
+ desc = flavor_ARB.4.d
188
+ picture = UNIVERSITY_eventPicture
189
+
190
+ is_triggered_only = yes
191
+
192
+ option = {
193
+ name = flavor_ARB.4.a
194
+
195
+ ai_chance = {
196
+ factor = 1
197
+ }
198
+
199
+ goto = 361
200
+
201
+ add_treasury = -1000
202
+ if = {
203
+ limit = {
204
+ has_dlc = "Leviathan"
205
+ }
206
+ 361 = {
207
+ set_great_project_tier_1 = {
208
+ type = al_azhar_university
209
+ }
210
+ }
211
+
212
+ custom_tooltip = " "
213
+ }
214
+ else = {
215
+ 361 = {
216
+ add_province_modifier = {
217
+ name = ARB_al_azhar_university
218
+ duration = -1
219
+ }
220
+ }
221
+ }
222
+
223
+ 361 = { add_or_upgrade_university_building = yes }
224
+ }
225
+
226
+ option = {
227
+ name = flavor_ARB.4.b
228
+
229
+ ai_chance = {
230
+ factor = 1
231
+ }
232
+
233
+ trigger = {
234
+ has_dlc = "Cradle of Civilization"
235
+ religious_school = {
236
+ group = muslim
237
+ school = hanbali_school
238
+ }
239
+ }
240
+
241
+ if = {
242
+ limit = {
243
+ has_estate = estate_church
244
+ }
245
+ add_estate_loyalty = {
246
+ estate = estate_church
247
+ loyalty = 25
248
+ }
249
+
250
+ custom_tooltip = " "
251
+ }
252
+
253
+ add_country_modifier = {
254
+ name = ARB_hanbali_scholars
255
+ duration = 10950
256
+ }
257
+ }
258
+
259
+ option = {
260
+ name = flavor_ARB.4.c
261
+
262
+ ai_chance = {
263
+ factor = 1
264
+ }
265
+
266
+ add_prestige_or_monarch_power = { amount = 10 }
267
+ }
268
+ }
269
+
270
+ country_event = {
271
+ id = flavor_ARB.5
272
+ title = flavor_ARB.5.t
273
+ desc = flavor_ARB.5.d
274
+ picture = GOOD_WITH_MONARCH_eventPicture
275
+
276
+ is_triggered_only = yes
277
+ major = yes
278
+
279
+ option = {
280
+ name = flavor_ARB.5.a
281
+
282
+ ai_chance = {
283
+ factor = 1
284
+ }
285
+
286
+ unlock_government_reform = {
287
+ government_reform = caliphate_reform
288
+ }
289
+
290
+ if = {
291
+ limit = {
292
+ government = theocracy
293
+ }
294
+ add_government_reform = caliphate_theocracy_reform
295
+ }
296
+ else = {
297
+ change_government = monarchy
298
+ add_government_reform = caliphate_reform
299
+ }
300
+ }
301
+
302
+ option = {
303
+ name = flavor_ARB.5.b
304
+
305
+ ai_chance = {
306
+ factor = 1
307
+ }
308
+
309
+ unlock_government_reform = {
310
+ government_reform = caliphate_reform
311
+ }
312
+
313
+ custom_tooltip = " "
314
+
315
+ if = {
316
+ limit = {
317
+ has_country_modifier = unified_islam
318
+ }
319
+ add_country_modifier = {
320
+ name = ARB_united_islam_upgraded
321
+ duration = -1
322
+ }
323
+ }
324
+ else = {
325
+ set_country_flag = ARB_upgraded_uniting_islam
326
+ custom_tooltip = ARB_uniting_islam_will_now_give_10_warscore_cost_vs_other_religions
327
+ }
328
+ }
329
+ }
330
+
331
+ country_event = {
332
+ id = flavor_ARB.6
333
+ title = flavor_ARB.6.t
334
+ desc = flavor_ARB.6.d
335
+ picture = BIG_BOOK_eventPicture
336
+
337
+ is_triggered_only = yes
338
+ major = yes
339
+
340
+ option = {
341
+ name = flavor_ARB.6.a
342
+ ARB_flavor_event_6_effect = yes
343
+ ai_chance = {
344
+ factor = 1
345
+ }
346
+ }
347
+ }
348
+
349
+ country_event = {
350
+ id = flavor_ARB.7
351
+ title = flavor_ARB.7.t
352
+ desc = flavor_ARB.7.d
353
+ picture = BATTLE_eventPicture
354
+
355
+ is_triggered_only = yes
356
+ major = yes
357
+
358
+ option = {
359
+ name = flavor_ARB.7.a
360
+
361
+ ai_chance = {
362
+ factor = 1
363
+ }
364
+
365
+ add_permanent_power_projection = {
366
+ type = arb_permanent_power_projection
367
+ amount = 5
368
+ }
369
+
370
+ custom_tooltip = " "
371
+
372
+ add_country_modifier = {
373
+ name = ARB_highway_of_the_martyrs
374
+ duration = -1
375
+ }
376
+
377
+ custom_tooltip = ARB_cb_on_france_and_iberia
378
+ }
379
+ }
380
+
381
+ country_event = {
382
+ id = flavor_ARB.8
383
+ title = flavor_ARB.8.t
384
+ desc = flavor_ARB.8.d
385
+ picture = TRADE_eventPicture
386
+
387
+ is_triggered_only = yes
388
+
389
+ option = {
390
+ name = flavor_ARB.8.a
391
+
392
+ ai_chance = {
393
+ factor = 1
394
+ }
395
+
396
+ add_country_modifier = {
397
+ name = ARB_reroute_the_trade_north
398
+ duration = -1
399
+ }
400
+ }
401
+
402
+ option = {
403
+ name = flavor_ARB.8.b
404
+
405
+ ai_chance = {
406
+ factor = 1
407
+ }
408
+
409
+ set_country_flag = ARB_cb_on_fetishists_in_south_africa_flag
410
+ custom_tooltip = ARB_cb_on_fetishists_in_south_africa
411
+ }
412
+ }
413
+
414
+ country_event = {
415
+ id = flavor_ARB.9 #purpose of this event is to execute an effect from one of the mission
416
+ title = flavor_ARB.8.t
417
+ desc = flavor_ARB.8.d
418
+ picture = MERCHANTS_TALKING_eventPicture
419
+
420
+ is_triggered_only = yes
421
+ hidden = yes
422
+
423
+ immediate = {
424
+ hidden_effect = {
425
+ pick_best_provinces = {
426
+ 1 = yes
427
+ event_target_name = abr_target
428
+ global_trigger = "
429
+ has_tax_building_trigger = yes
430
+ development = 15
431
+ "
432
+ scope = every_owned_province
433
+ scale = higher_development_than
434
+ }
435
+ event_target:abr_target_1 = {
436
+ add_or_upgrade_tax_building = yes
437
+ add_province_triggered_modifier = ARB_local_madrasa
438
+ }
439
+ }
440
+ }
441
+
442
+ option = {
443
+ name = flavor_ARB.8.b
444
+
445
+ ai_chance = {
446
+ factor = 1
447
+ }
448
+ }
449
+ }
450
+
451
+ country_event = {
452
+ id = flavor_ARB.10
453
+ title = flavor_ARB.10.t
454
+ desc = flavor_ARB.10.d
455
+ picture = CITY_VIEW_eventPicture
456
+ is_triggered_only = yes
457
+ immediate = {
458
+ hidden_effect = {
459
+ capital_scope = {
460
+ save_event_target_as = capital
461
+ }
462
+ }
463
+ }
464
+
465
+ option = {
466
+ name = flavor_ARB.10.a
467
+ trigger = {
468
+ 361 = {
469
+ owned_by = root
470
+ is_capital = no
471
+ }
472
+ }
473
+ goto = 361
474
+ set_capital = 361
475
+ 361 = {
476
+ add_base_tax = 1
477
+ add_base_production = 1
478
+ add_base_manpower = 1
479
+ }
480
+
481
+ ai_chance = {
482
+ factor = 1
483
+ }
484
+ }
485
+ option = {
486
+ name = flavor_ARB.10.b
487
+ trigger = {
488
+ 382 = {
489
+ owned_by = root
490
+ is_capital = no
491
+ }
492
+ }
493
+ goto = 382
494
+ set_capital = 382
495
+ 382 = {
496
+ add_base_tax = 1
497
+ add_base_production = 1
498
+ add_base_manpower = 1
499
+ }
500
+
501
+ ai_chance = {
502
+ factor = 1
503
+ }
504
+ }
505
+ option = {
506
+ name = flavor_ARB.10.c
507
+ trigger = {
508
+ 410 = {
509
+ owned_by = root
510
+ is_capital = no
511
+ }
512
+ }
513
+ goto = 410
514
+ set_capital = 410
515
+ 410 = {
516
+ add_base_tax = 1
517
+ add_base_production = 1
518
+ add_base_manpower = 1
519
+ }
520
+
521
+ ai_chance = {
522
+ factor = 1
523
+ }
524
+ }
525
+ option = {
526
+ name = flavor_ARB.10.e
527
+ trigger = {
528
+ 385 = {
529
+ owned_by = root
530
+ is_capital = no
531
+ }
532
+ }
533
+ goto = 385
534
+ set_capital = 385
535
+ 385 = {
536
+ add_base_tax = 1
537
+ add_base_production = 1
538
+ add_base_manpower = 1
539
+ }
540
+
541
+ ai_chance = {
542
+ factor = 1
543
+ }
544
+ }
545
+ option = {
546
+ name = flavor_ARB.10.f
547
+ trigger = {
548
+ 384 = {
549
+ owned_by = root
550
+ is_capital = no
551
+ }
552
+ }
553
+ goto = 384
554
+ set_capital = 384
555
+ 384 = {
556
+ add_base_tax = 1
557
+ add_base_production = 1
558
+ add_base_manpower = 1
559
+ }
560
+
561
+ ai_chance = {
562
+ factor = 1
563
+ }
564
+ }
565
+
566
+ option = {
567
+ name = flavor_ARB.10.zzz
568
+ goto = capital
569
+ event_target:capital = {
570
+ add_base_tax = 1
571
+ add_base_production = 1
572
+ add_base_manpower = 1
573
+ }
574
+
575
+ ai_chance = {
576
+ factor = 1
577
+ }
578
+ }
579
+ }
events/flavorBYZ.txt CHANGED
@@ -15,15 +15,82 @@ country_event = {
15
15
  picture = WOUNDED_SOLDIERS_eventPicture
16
16
 
17
17
  is_triggered_only = yes
18
+ major = yes
19
+ major_trigger = {
20
+ byz_is_in_middle_east_or_europe = yes
21
+ }
22
+
23
+ goto = 112
18
24
 
19
25
  option = {
20
26
  name = flavor_byz.1.a
27
+
28
+ ai_chance = {
29
+ factor = 1
30
+ }
31
+
21
32
  112 = {
22
- add_loot_from_rich_province_general_effect = {
23
- LOOTER = owner #BYZ
33
+ custom_tooltip = BYZ_this_province_will_lose_development
34
+
35
+ custom_tooltip = " "
36
+
37
+ hidden_effect = {
38
+ export_to_variable = {
39
+ which = BYZ_amount_of_dev
40
+ value = trigger_value:development
41
+ }
42
+ multiply_variable = {
43
+ which = BYZ_amount_of_dev
44
+ value = 0.75
45
+ }
46
+ while = {
47
+ limit = {
48
+ check_variable = {
49
+ which = BYZ_amount_of_dev
50
+ value = 1
51
+ }
52
+ OR = {
53
+ base_tax = 2
54
+ base_production = 2
55
+ base_manpower = 2
56
+ }
57
+ }
58
+ random_list = {
59
+ 1 = {
60
+ trigger = {
61
+ base_tax = 2
62
+ }
63
+ add_base_tax = -1
64
+ ROOT = { add_treasury = 75 }
65
+ }
66
+ 1 = {
67
+ trigger = {
68
+ base_production = 2
69
+ }
70
+ add_base_production = -1
71
+ ROOT = { add_treasury = 75 }
72
+ }
73
+ 1 = {
74
+ trigger = {
75
+ base_manpower = 2
76
+ }
77
+ add_base_manpower = -1
78
+ ROOT = { add_treasury = 75 }
79
+ }
80
+ }
81
+ change_variable = {
82
+ which = BYZ_amount_of_dev
83
+ value = -1
84
+ }
85
+ }
86
+ set_variable = {
87
+ which = BYZ_amount_of_dev
88
+ value = 0
89
+ }
24
90
  }
25
- add_province_modifier = {
26
- name = "chastening_of_venice"
91
+
92
+ add_permanent_province_modifier = {
93
+ name = BYZ_chastening_of_venice
27
94
  duration = -1
28
95
  }
29
96
  }
@@ -34,6 +101,41 @@ country_event = {
34
101
  }
35
102
  }
36
103
  }
104
+
105
+ option = {
106
+ name = flavor_byz.1.b
107
+
108
+ ai_chance = {
109
+ factor = 0
110
+ }
111
+
112
+ if = {
113
+ limit = {
114
+ has_dlc = "Domination"
115
+ }
116
+ add_country_modifier = {
117
+ name = BYZ_may_construct_galleass
118
+ duration = -1
119
+ }
120
+ custom_tooltip = BYZ_may_only_build_in_112
121
+ hidden_effect = {
122
+ 112 = {
123
+ add_province_modifier = {
124
+ name = BYZ_local_galleass
125
+ duration = -1
126
+ }
127
+ }
128
+ }
129
+ }
130
+ else = {
131
+ 112 = {
132
+ add_province_modifier = {
133
+ name = BYZ_arsenal
134
+ duration = -1
135
+ }
136
+ }
137
+ }
138
+ }
37
139
 
38
140
  }
39
141
 
@@ -92,4 +194,3560 @@ country_event = {
92
194
  }
93
195
  add_stability = -3
94
196
  }
197
+ }
198
+
199
+ namespace = MEE_Byzantine_Events
200
+
201
+ country_event = {
202
+ id = MEE_Byzantine_Events.1
203
+ title = MEE_Byzantine_Events.1.t
204
+ desc = MEE_Byzantine_Events.1.d
205
+ picture = SEJM_eventPicture
206
+
207
+ is_triggered_only = yes
208
+
209
+ option = {
210
+ name = MEE_Byzantine_Events.1.a
211
+
212
+ ai_chance = {
213
+ factor = 1
214
+ }
215
+
216
+ add_country_modifier = {
217
+ name = MEE_strong_example_against_the_serbian_aristocrats
218
+ duration = 10950
219
+ }
220
+
221
+ add_mil_power = 100
222
+ }
223
+
224
+ option = {
225
+ name = MEE_Byzantine_Events.1.b
226
+
227
+ ai_chance = {
228
+ factor = 1
229
+ }
230
+
231
+ add_country_modifier = {
232
+ name = MEE_amiable_treatment
233
+ duration = 9125
234
+ }
235
+
236
+ add_dip_power = 100
237
+ }
238
+ }
239
+
240
+ country_event = {
241
+ id = MEE_Byzantine_Events.2
242
+ title = MEE_Byzantine_Events.2.t
243
+ desc = MEE_Byzantine_Events.2.d
244
+ picture = {
245
+ picture = CONSTANTINOPLE_eventPicture
246
+ trigger = {
247
+ has_dlc = "King of Kings"
248
+ }
249
+ }
250
+ picture = {
251
+ picture = CITY_VIEW_eventPicture
252
+ trigger = {
253
+ not = { has_dlc = "King of Kings" }
254
+ }
255
+ }
256
+
257
+ is_triggered_only = yes
258
+
259
+ major = yes
260
+ major_trigger = {
261
+ OR = {
262
+ culture_group = byzantine
263
+ capital_scope = {
264
+ region = italy_region
265
+ }
266
+ }
267
+ }
268
+
269
+ goto = 123
270
+
271
+ immediate = {
272
+ hidden_effect = {
273
+ pick_best_provinces = {
274
+ 3 = yes
275
+ scale = higher_development_than
276
+ global_trigger = "
277
+ country_or_non_sovereign_subject_holds = ROOT
278
+ OR = {
279
+ area = apulia_area
280
+ area = calabria_area
281
+ area = sicily_area
282
+ area = western_sicily_area
283
+ }
284
+ NOT = { province_id = 123 }
285
+ NOT = { province_id = 122 }
286
+ "
287
+ scope = every_province
288
+ event_target_name = "Byz_griko_target"
289
+ }
290
+ }
291
+ }
292
+
293
+ option = {
294
+ name = MEE_Byzantine_Events.2.a
295
+
296
+ ai_chance = {
297
+ factor = 1
298
+ }
299
+
300
+ 123 = {
301
+ change_culture = griko
302
+ add_base_tax = 1
303
+ add_base_production = 1
304
+ }
305
+ 122 = {
306
+ change_culture = griko
307
+ add_base_tax = 1
308
+ add_base_production = 1
309
+ }
310
+
311
+ event_target:Byz_griko_target_1 = {
312
+ change_culture = griko
313
+ }
314
+
315
+ event_target:Byz_griko_target_2 = {
316
+ change_culture = griko
317
+ }
318
+
319
+ event_target:Byz_griko_target_3 = {
320
+ change_culture = griko
321
+ }
322
+
323
+ add_years_of_trade_income = {
324
+ years = 1
325
+ custom_tooltip = BYZ_add_1_years_of_trade_income
326
+ }
327
+ }
328
+ }
329
+
330
+ country_event = {
331
+ id = MEE_Byzantine_Events.3
332
+ title = MEE_Byzantine_Events.3.t
333
+ desc = MEE_Byzantine_Events.3.d
334
+ picture = LAND_MILITARY_eventPicture
335
+
336
+ is_triggered_only = yes
337
+
338
+ option = {
339
+ name = MEE_Byzantine_Events.3.a
340
+
341
+ ai_chance = {
342
+ factor = 1
343
+ }
344
+
345
+ create_general_with_pips = {
346
+ name = "Tyllios"
347
+ tradition = 80
348
+ add_fire = 1
349
+ add_shock = 1
350
+ }
351
+ }
352
+
353
+ option = {
354
+ name = MEE_Byzantine_Events.3.b
355
+
356
+ ai_chance = {
357
+ factor = 1
358
+ }
359
+
360
+ create_general_with_pips = {
361
+ name = "Tyllios"
362
+ tradition = 80
363
+ add_shock = 2
364
+ add_manuever = 1
365
+ }
366
+ }
367
+
368
+ option = {
369
+ name = MEE_Byzantine_Events.3.c
370
+
371
+ ai_chance = {
372
+ factor = 1
373
+ }
374
+
375
+ create_general_with_pips = {
376
+ tradition = 80
377
+ name = "Tyllios"
378
+ add_siege = 1
379
+ add_manuever = 1
380
+ }
381
+ }
382
+
383
+ option = {
384
+ name = MEE_Byzantine_Events.3.e
385
+
386
+ ai_chance = {
387
+ factor = 1
388
+ }
389
+
390
+ create_general_with_pips = {
391
+ tradition = 80
392
+ name = "Tyllios"
393
+ add_fire = 1
394
+ add_manuever = 2
395
+ }
396
+ }
397
+ }
398
+
399
+ country_event = {
400
+ id = MEE_Byzantine_Events.4
401
+ title = MEE_Byzantine_Events.4.t
402
+ desc = MEE_Byzantine_Events.4.d
403
+ picture = POPE_PREACHING_eventPicture
404
+
405
+ major = yes
406
+
407
+ is_triggered_only = yes
408
+
409
+ option = {
410
+ name = MEE_Byzantine_Events.4.a
411
+
412
+ ai_chance = {
413
+ factor = 1
414
+ }
415
+
416
+ custom_tooltip = BYZ_unlock_justinians_empire_decision
417
+ set_country_flag = BYZ_justinians_empire_decision_flag
418
+
419
+ custom_tooltip = " "
420
+
421
+ add_permanent_power_projection = {
422
+ type = byz_permanent_power_projection
423
+ amount = 5
424
+ }
425
+
426
+ if = {
427
+ limit = {
428
+ has_dlc = "Rights of Man"
429
+ }
430
+ custom_tooltip = " "
431
+ set_country_flag = BYZ_double_conqueror_chance_flag
432
+ custom_tooltip = BYZ_double_conquer_chance
433
+ }
434
+ }
435
+ }
436
+
437
+ country_event = {
438
+ id = MEE_Byzantine_Events.5
439
+ title = MEE_Byzantine_Events.5.t
440
+ desc = MEE_Byzantine_Events.5.d
441
+ picture = UNIVERSITY_eventPicture
442
+
443
+ mean_time_to_happen = { months = 60 }
444
+
445
+ fire_only_once = yes
446
+
447
+ trigger = {
448
+ mission_completed = BYZ_justinians_ambition
449
+ owns = 118
450
+ not = { 118 = { is_capital_of = root } }
451
+ }
452
+
453
+ goto = 118
454
+
455
+ option = {
456
+ name = MEE_Byzantine_Events.5.a
457
+ ai_chance = {
458
+ factor = 1
459
+ }
460
+
461
+ capital_scope = {
462
+ add_province_modifier = {
463
+ name = BYZ_secondary_capital
464
+ duration = -1
465
+ }
466
+ }
467
+ if = {
468
+ limit = {
469
+ not = { 118 = { is_capital_of = root } }
470
+ }
471
+ 118 = {
472
+ add_base_tax = 1
473
+ add_base_production = 1
474
+ add_base_manpower = 4
475
+ custom_tooltip = " "
476
+ move_capital_effect = yes
477
+ add_province_triggered_modifier = BYZ_heart_of_the_empire
478
+ }
479
+ }
480
+ }
481
+
482
+ option = {
483
+ name = MEE_Byzantine_Events.5.b
484
+
485
+ ai_chance = {
486
+ factor = 1
487
+ }
488
+
489
+ 118 = {
490
+ add_province_modifier = {
491
+ name = BYZ_secondary_capital
492
+ duration = -1
493
+ }
494
+ }
495
+
496
+ capital_scope = {
497
+ add_base_tax = 2
498
+ add_base_production = 2
499
+ add_base_manpower = 2
500
+
501
+ custom_tooltip = " "
502
+
503
+ add_province_triggered_modifier = BYZ_illustrious_court
504
+ }
505
+ }
506
+ }
507
+
508
+ country_event = {
509
+ id = MEE_Byzantine_Events.6
510
+ title = MEE_Byzantine_Events.6.t
511
+ desc = MEE_Byzantine_Events.6.d
512
+ picture = ORTHODOX_eventPicture
513
+
514
+ is_triggered_only = yes
515
+ major = yes
516
+
517
+ option = {
518
+ name = MEE_Byzantine_Events.6.a
519
+
520
+ ai_chance = {
521
+ factor = 1
522
+ }
523
+
524
+ add_country_modifier = {
525
+ name = BYZ_reversal_of_downfall
526
+ duration = 10950
527
+ }
528
+
529
+ add_power_projection_mission = {
530
+ amount = 25
531
+ }
532
+ }
533
+ }
534
+
535
+ province_event = {
536
+ id = MEE_Byzantine_Events.7
537
+ title = MEE_Byzantine_Events.7.t
538
+ desc = MEE_Byzantine_Events.7.d
539
+ picture = FARMING_eventPicture
540
+
541
+ trigger = {
542
+ owner = {
543
+ culture_group = byzantine
544
+ has_country_flag = BYZ_conversions
545
+ }
546
+ culture_group = turko_semitic
547
+ BYZ_eligible_province_for_culture_conversion = yes
548
+ }
549
+
550
+ goto = ROOT
551
+
552
+ mean_time_to_happen = {
553
+ months = 240
554
+ modifier = {
555
+ factor = 3
556
+ NOT = {
557
+ OR = {
558
+ area = aydin_area
559
+ area = hudavendigar_area
560
+ }
561
+ }
562
+ }
563
+ modifier = {
564
+ factor = 0.25
565
+ owner = {
566
+ has_country_flag = BYZ_culture_conversion_will_be_faster_flag
567
+ }
568
+ }
569
+ }
570
+
571
+ option = {
572
+ name = MEE_Byzantine_Events.7.a
573
+
574
+ ai_chance = {
575
+ factor = 1
576
+ }
577
+
578
+ BYZ_convert_to_greek_culture = yes
579
+ }
580
+ }
581
+
582
+ country_event = {
583
+ id = MEE_Byzantine_Events.8
584
+ title = MEE_Byzantine_Events.8.t
585
+ desc = MEE_Byzantine_Events.8.d
586
+ picture = RELIGIOUS_CONVERSION_eventPicture
587
+
588
+ is_triggered_only = yes
589
+ major = yes
590
+
591
+ option = {
592
+ name = MEE_Byzantine_Events.8.a
593
+
594
+ ai_chance = {
595
+ factor = 1
596
+ }
597
+
598
+ add_accepted_culture_or_dip_power = { culture = turkish dip_reward = yes }
599
+
600
+ custom_tooltip = " "
601
+
602
+ custom_tooltip = BYZ_every_turkish_province
603
+ tooltip = {
604
+ add_nationalism = -10
605
+ }
606
+ hidden_effect = {
607
+ every_owned_province = {
608
+ limit = {
609
+ culture = turkish
610
+ }
611
+ add_nationalism = -10
612
+ }
613
+ }
614
+ }
615
+
616
+ option = {
617
+ name = MEE_Byzantine_Events.8.b
618
+
619
+ ai_chance = {
620
+ factor = 1
621
+ }
622
+
623
+ set_country_flag = BYZ_culture_conversion_will_be_faster_flag
624
+ custom_tooltip = BYZ_culture_conversion_will_be_faster
625
+ }
626
+
627
+ option = {
628
+ name = MEE_Byzantine_Events.8.c
629
+
630
+ ai_chance = {
631
+ factor = 1
632
+ }
633
+
634
+ custom_tooltip = BYZ_every_turkish_province
635
+ tooltip = {
636
+ add_province_modifier = {
637
+ name = BYZ_janissary_recruitment
638
+ duration = 9125
639
+ }
640
+ }
641
+
642
+ hidden_effect = {
643
+ every_owned_province = {
644
+ limit = {
645
+ culture = turkish
646
+ }
647
+ add_province_modifier = {
648
+ name = BYZ_janissary_recruitment
649
+ duration = 9125
650
+ }
651
+ }
652
+ }
653
+
654
+ custom_tooltip = BYZ_unlock_janissary_mercenary_company
655
+ set_country_flag = BYZ_janissary_merc_company
656
+ }
657
+ }
658
+
659
+ country_event = {
660
+ id = MEE_Byzantine_Events.9
661
+ title = MEE_Byzantine_Events.9.t
662
+ desc = MEE_Byzantine_Events.9.d
663
+ picture = RELIGIOUS_TURMOIL_eventPicture
664
+
665
+ is_triggered_only = yes
666
+ major = yes
667
+
668
+ goto = 385
669
+
670
+ option = {
671
+ name = MEE_Byzantine_Events.9.a
672
+
673
+ ai_chance = {
674
+ factor = 1
675
+ }
676
+
677
+ add_adm_power = 100
678
+
679
+ custom_tooltip = " "
680
+ 385 = {
681
+ if = {
682
+ limit = {
683
+ NOT = { has_tax_building_trigger = yes }
684
+ }
685
+ add_building = cathedral
686
+ }
687
+ else = {
688
+ add_or_upgrade_tax_building = yes
689
+ }
690
+ }
691
+ if = {
692
+ limit = {
693
+ has_dlc = "Leviathan"
694
+ }
695
+ custom_tooltip = " "
696
+ custom_tooltip = BYZ_kaaba_but_only_gives_prestige_and_half_of_religious_unity
697
+ set_country_flag = BYZ_may_use_kaaba
698
+ }
699
+ }
700
+
701
+ option = {
702
+ name = MEE_Byzantine_Events.9.b
703
+
704
+ ai_chance = {
705
+ factor = 1
706
+ }
707
+
708
+ add_dip_power = 100
709
+
710
+ custom_tooltip = " "
711
+
712
+ custom_tooltip = BYZ_relations
713
+ hidden_effect = {
714
+ every_country = {
715
+ limit = {
716
+ religion_group = muslim
717
+ }
718
+ add_opinion = {
719
+ who = ROOT
720
+ modifier = BYZ_spared_masjid
721
+ }
722
+ }
723
+ }
724
+
725
+ custom_tooltip = " "
726
+
727
+ 385 = {
728
+ add_province_modifier = {
729
+ name = BYZ_masjid_local_pilgrimages
730
+ duration = -1
731
+ }
732
+ }
733
+ }
734
+ }
735
+
736
+ country_event = {
737
+ id = MEE_Byzantine_Events.10
738
+ title = MEE_Byzantine_Events.10.t
739
+ desc = MEE_Byzantine_Events.10.d
740
+ picture = HARBOUR_eventPicture
741
+
742
+ is_triggered_only = yes
743
+ major = yes
744
+
745
+ goto = 330
746
+
747
+ option = {
748
+ name = MEE_Byzantine_Events.10.a
749
+
750
+ ai_chance = {
751
+ factor = 1
752
+ }
753
+
754
+ 330 = {
755
+ set_center_level_2_center_of_trade = yes
756
+ }
757
+
758
+ custom_tooltip = " "
759
+
760
+ add_country_modifier = {
761
+ name = BYZ_offshoots_defeated
762
+ duration = -1
763
+ }
764
+
765
+ add_power_projection_mission = { amount = 25 }
766
+ }
767
+ }
768
+
769
+ country_event = {
770
+ id = MEE_Byzantine_Events.11
771
+ title = MEE_Byzantine_Events.11.t
772
+ desc = MEE_Byzantine_Events.11.d
773
+ picture = FORT_eventPicture
774
+
775
+ is_triggered_only = yes
776
+
777
+ goto = 4701 #more important than losing in 145
778
+
779
+ option = {
780
+ name = MEE_Byzantine_Events.11.a
781
+
782
+ ai_chance = {
783
+ factor = 1
784
+ }
785
+
786
+ if = {
787
+ limit = {
788
+ 145 = {
789
+ owned_by = ROOT
790
+ has_building = fort_15th
791
+ }
792
+ }
793
+ 145 = {
794
+ remove_building = fort_15th
795
+ }
796
+ }
797
+ if = {
798
+ limit = {
799
+ 4701 = {
800
+ owned_by = ROOT
801
+ NOT = { has_fort_building_trigger = yes }
802
+ }
803
+ }
804
+ 4701 = {
805
+ add_building = fort_15th
806
+ }
807
+ }
808
+
809
+ custom_tooltip = " "
810
+
811
+ set_country_flag = BYZ_unlock_decision_to_upgrade_hexamilion_wall_flag
812
+ custom_tooltip = BYZ_unlock_decision_to_upgrade_hexamilion_wall
813
+ }
814
+
815
+ option = {
816
+ name = MEE_Byzantine_Events.11.b
817
+
818
+ ai_chance = {
819
+ factor = 0
820
+ }
821
+
822
+ set_country_flag = BYZ_upgrading_theodosian_walls_will_be_25_cheaper
823
+ custom_tooltip = BYZ_upgrading_theodosian_walls_will_be_25_cheaper
824
+ }
825
+ }
826
+
827
+ country_event = {
828
+ id = MEE_Byzantine_Events.12
829
+ title = MEE_Byzantine_Events.12.t
830
+ desc = MEE_Byzantine_Events.12.d
831
+ picture = FORT_eventPicture
832
+
833
+ is_triggered_only = yes
834
+
835
+ option = {
836
+ name = MEE_Byzantine_Events.12.a
837
+
838
+ ai_chance = {
839
+ factor = 1
840
+ }
841
+
842
+ trigger = {
843
+ exists = SER
844
+ }
845
+
846
+ custom_tooltip = BYZ_we_will_ask_for_serbian_help
847
+ SER = {
848
+ country_event = { id = MEE_Byzantine_Events.15 days = 30 random = 60 }
849
+ }
850
+
851
+ custom_tooltip = BYZ_maximize
852
+ }
853
+
854
+ option = {
855
+ name = MEE_Byzantine_Events.12.b
856
+
857
+ ai_chance = {
858
+ factor = 1
859
+ }
860
+ goto = 151
861
+
862
+ 151 = {
863
+ add_base_tax = -2
864
+ add_province_modifier = {
865
+ name = BYZ_theodosian_wall_1
866
+ duration = -1
867
+ }
868
+ }
869
+
870
+ custom_tooltip = BYZ_if_it_is_being_upgraded
871
+ if = {
872
+ limit = {
873
+ has_country_flag = BYZ_upgrading_theodosian
874
+ }
875
+ if = {
876
+ limit = {
877
+ has_country_flag = BYZ_upgrading_theodosian_walls_will_be_25_cheaper
878
+ }
879
+ add_treasury = 75
880
+ }
881
+ else = {
882
+ add_treasury = 100
883
+ }
884
+ }
885
+ }
886
+
887
+ option = {
888
+ name = MEE_Byzantine_Events.12.c
889
+
890
+ ai_chance = {
891
+ factor = 1
892
+ }
893
+
894
+ add_prestige_or_monarch_power = { amount = 20 }
895
+ }
896
+ }
897
+
898
+ country_event = {
899
+ id = MEE_Byzantine_Events.13
900
+ title = MEE_Byzantine_Events.13.t
901
+ desc = MEE_Byzantine_Events.13.d
902
+ picture = FORT_eventPicture
903
+
904
+ is_triggered_only = yes
905
+ #hidden = yes
906
+ goto = 4701
907
+
908
+ option = {
909
+ name = MEE_Byzantine_Events.13.a
910
+
911
+ ai_chance = {
912
+ factor = 1
913
+ }
914
+
915
+ if = {
916
+ limit = {
917
+ 4701 = {
918
+ owned_by = ROOT
919
+ }
920
+ }
921
+ custom_tooltip = BYZ_upgrade_complete
922
+ }
923
+
924
+ hidden_effect = {
925
+ BYZ_upgrade_hexamilion_if_possible = yes
926
+ }
927
+ }
928
+ }
929
+
930
+ country_event = {
931
+ id = MEE_Byzantine_Events.14
932
+ title = MEE_Byzantine_Events.14.t
933
+ desc = MEE_Byzantine_Events.14.d
934
+ picture = FORT_eventPicture
935
+
936
+ is_triggered_only = yes
937
+ #hidden = yes
938
+ goto = 151
939
+
940
+ option = {
941
+ name = MEE_Byzantine_Events.14.a
942
+
943
+ ai_chance = {
944
+ factor = 1
945
+ }
946
+
947
+ if = {
948
+ limit = {
949
+ 151 = {
950
+ owned_by = ROOT
951
+ }
952
+ }
953
+ custom_tooltip = BYZ_upgrade_complete
954
+ }
955
+ hidden_effect = {
956
+ BYZ_upgrade_theodosian_if_possible = yes
957
+ }
958
+ }
959
+ }
960
+
961
+ country_event = {
962
+ id = MEE_Byzantine_Events.15
963
+ title = MEE_Byzantine_Events.15.t
964
+ desc = MEE_Byzantine_Events.15.d
965
+ picture = DIPLOMACY_eventPicture
966
+
967
+ is_triggered_only = yes
968
+ major = yes
969
+ major_trigger = { tag = FROM }
970
+
971
+ option = {
972
+ name = MEE_Byzantine_Events.15.a
973
+
974
+ ai_chance = {
975
+ factor = 0.5
976
+
977
+ modifier = {
978
+ factor = 4
979
+ ai_attitude = {
980
+ who = FROM
981
+ attitude = attitude_friendly
982
+ }
983
+ }
984
+ modifier = {
985
+ factor = 4
986
+ ai_attitude = {
987
+ who = FROM
988
+ attitude = attitude_allied
989
+ }
990
+ }
991
+
992
+ modifier = {
993
+ factor = 2
994
+ has_opinion = {
995
+ who = FROM
996
+ value = 125
997
+ }
998
+ }
999
+ modifier = {
1000
+ factor = 2
1001
+ has_opinion = {
1002
+ who = FROM
1003
+ value = 150
1004
+ }
1005
+ }
1006
+ }
1007
+
1008
+ add_treasury = -250
1009
+ FROM = {
1010
+ add_treasury = 250
1011
+ }
1012
+ }
1013
+
1014
+ option = {
1015
+ name = MEE_Byzantine_Events.15.b
1016
+
1017
+ ai_chance = {
1018
+ factor = 1
1019
+ modifier = {
1020
+ factor = 2
1021
+ has_opinion = {
1022
+ who = FROM
1023
+ value = 150
1024
+ }
1025
+ }
1026
+ modifier = {
1027
+ factor = 2
1028
+ has_opinion = {
1029
+ who = FROM
1030
+ value = 100
1031
+ }
1032
+ }
1033
+ modifier = {
1034
+ factor = 2
1035
+ has_opinion = {
1036
+ who = FROM
1037
+ value = 75
1038
+ }
1039
+ }
1040
+ }
1041
+
1042
+ add_treasury = -150
1043
+ FROM = {
1044
+ add_treasury = 150
1045
+ }
1046
+ }
1047
+
1048
+ option = {
1049
+ name = MEE_Byzantine_Events.15.c
1050
+
1051
+ ai_chance = {
1052
+ factor = 1
1053
+
1054
+ modifier = {
1055
+ factor = 2
1056
+ has_opinion = {
1057
+ who = FROM
1058
+ value = 50
1059
+ }
1060
+ }
1061
+
1062
+ modifier = {
1063
+ factor = 2
1064
+ has_opinion = {
1065
+ who = FROM
1066
+ value = 25
1067
+ }
1068
+ }
1069
+ }
1070
+
1071
+ add_treasury = -50
1072
+ FROM = {
1073
+ add_treasury = 50
1074
+ }
1075
+ }
1076
+
1077
+ option = {
1078
+ name = MEE_Byzantine_Events.15.e
1079
+
1080
+ ai_chance = {
1081
+ factor = 0.5
1082
+
1083
+ modifier = {
1084
+ factor = 0
1085
+ NOT = {
1086
+ OR = {
1087
+ ai_attitude = {
1088
+ who = FROM
1089
+ attitude = attitude_hostile
1090
+ }
1091
+ ai_attitude = {
1092
+ who = FROM
1093
+ attitude = attitude_rivalry
1094
+ }
1095
+ ai_attitude = {
1096
+ who = FROM
1097
+ attitude = attitude_outraged
1098
+ }
1099
+ }
1100
+ }
1101
+ }
1102
+
1103
+ modifier = {
1104
+ factor = 3
1105
+ NOT = {
1106
+ has_opinion = {
1107
+ who = FROM
1108
+ value = 0
1109
+ }
1110
+ }
1111
+ }
1112
+ }
1113
+ }
1114
+ }
1115
+
1116
+ country_event = {
1117
+ id = MEE_Byzantine_Events.16
1118
+ title = MEE_Byzantine_Events.16.t
1119
+ desc = MEE_Byzantine_Events.16.d
1120
+ picture = RELIGION_eventPicture
1121
+
1122
+ is_triggered_only = yes
1123
+ major = yes
1124
+ major_trigger = {
1125
+ religion = orthodox
1126
+ }
1127
+
1128
+ option = {
1129
+ name = MEE_Byzantine_Events.16.a
1130
+
1131
+ ai_chance = {
1132
+ factor = 1
1133
+ }
1134
+
1135
+ set_global_flag = BYZ_buff_clerical_ministers_for_orthodox
1136
+ set_country_flag = BYZ_buff_clerical_ministers_for_byz
1137
+ custom_tooltip = BYZ_every_orthodox_country_clerical_buff
1138
+
1139
+ custom_tooltip = " "
1140
+
1141
+ add_patriarch_authority = 0.25
1142
+
1143
+ custom_tooltip = " "
1144
+
1145
+ custom_tooltip = BYZ_countries_will_like_us_more
1146
+ hidden_effect = {
1147
+ every_country = {
1148
+ limit = {
1149
+ religion = ROOT
1150
+ }
1151
+ add_opinion = {
1152
+ who = ROOT
1153
+ modifier = BYZ_orthodox_confraternity
1154
+ }
1155
+ }
1156
+ }
1157
+
1158
+ custom_tooltip = " "
1159
+
1160
+ custom_tooltip = BYZ_diplo_annexing_orthodox_countries
1161
+ set_country_flag = BYZ_diplo_annexing_orthodox_countries
1162
+ }
1163
+ }
1164
+
1165
+ country_event = {
1166
+ id = MEE_Byzantine_Events.17
1167
+ title = MEE_Byzantine_Events.17.t
1168
+ desc = MEE_Byzantine_Events.17.d
1169
+ picture = RELIGION_eventPicture
1170
+
1171
+ is_triggered_only = yes
1172
+ major = yes
1173
+
1174
+ goto = 151 #arguably most important seat
1175
+
1176
+ option = {
1177
+ name = MEE_Byzantine_Events.17.a
1178
+
1179
+ ai_chance = {
1180
+ factor = 1
1181
+ }
1182
+
1183
+ hidden_effect = {
1184
+ 151 = { add_province_triggered_modifier = BYZ_seat_of_a_patriarch }
1185
+ 2313 = { add_province_triggered_modifier = BYZ_seat_of_a_patriarch }
1186
+ 379 = { add_province_triggered_modifier = BYZ_seat_of_a_patriarch }
1187
+ 358 = { add_province_triggered_modifier = BYZ_seat_of_a_patriarch }
1188
+ 118 = { add_province_triggered_modifier = BYZ_seat_of_a_patriarch }
1189
+ }
1190
+ tooltip = {
1191
+ 151 = { add_province_triggered_modifier = BYZ_seat_of_a_patriarch }
1192
+ custom_tooltip = BYZ_other_provinces_will_also_receive_this_modifier
1193
+ }
1194
+
1195
+ custom_tooltip = " "
1196
+
1197
+ custom_tooltip = BYZ_enable_the_hold_ecumenical_council_decision
1198
+ set_country_flag = BYZ_ecumenical_decision_flag
1199
+ }
1200
+ }
1201
+
1202
+ country_event = {
1203
+ id = MEE_Byzantine_Events.18
1204
+ title = MEE_Byzantine_Events.18.t #ecumenical council
1205
+ desc = MEE_Byzantine_Events.18.d
1206
+ picture = RELIGION_eventPicture
1207
+
1208
+ is_triggered_only = yes
1209
+
1210
+ goto = byz_council_prov
1211
+
1212
+ immediate = {
1213
+ hidden_effect = {
1214
+ capital_scope = {
1215
+ save_event_target_as = byz_council_prov
1216
+ }
1217
+ random_owned_province = {
1218
+ limit = {
1219
+ religion = orthodox
1220
+ }
1221
+ save_event_target_as = byz_council_prov
1222
+ }
1223
+ random_owned_province = {
1224
+ limit = {
1225
+ religion = orthodox
1226
+ development = 15
1227
+ }
1228
+ save_event_target_as = byz_council_prov
1229
+ }
1230
+ random_owned_province = {
1231
+ limit = {
1232
+ religion = orthodox
1233
+ development = 25
1234
+ }
1235
+ save_event_target_as = byz_council_prov
1236
+ }
1237
+ }
1238
+ }
1239
+
1240
+ option = {
1241
+ name = MEE_Byzantine_Events.18.a
1242
+
1243
+ ai_chance = {
1244
+ factor = 1
1245
+ }
1246
+
1247
+ add_dip_power = 50
1248
+ add_adm_power = 50
1249
+
1250
+ custom_tooltip = " "
1251
+
1252
+ add_country_modifier = {
1253
+ name = BYZ_invoke_piety
1254
+ duration = 9125
1255
+ }
1256
+ }
1257
+
1258
+ option = {
1259
+ name = MEE_Byzantine_Events.18.b
1260
+
1261
+ ai_chance = {
1262
+ factor = 1
1263
+ }
1264
+
1265
+ add_stability_or_adm_power = yes
1266
+
1267
+ custom_tooltip = " "
1268
+
1269
+ add_country_modifier = {
1270
+ name = BYZ_resolve_disputes
1271
+ duration = 9125
1272
+ }
1273
+ }
1274
+
1275
+ option = {
1276
+ name = MEE_Byzantine_Events.18.c
1277
+
1278
+ ai_chance = {
1279
+ factor = 1
1280
+ }
1281
+
1282
+ add_patriarch_authority = 0.1
1283
+
1284
+ custom_tooltip = " "
1285
+
1286
+ add_country_modifier = {
1287
+ name = BYZ_support_patriarch
1288
+ duration = 7300
1289
+ }
1290
+ }
1291
+ }
1292
+
1293
+ country_event = {
1294
+ id = MEE_Byzantine_Events.19
1295
+ title = MEE_Byzantine_Events.19.t #the notaras family
1296
+ desc = MEE_Byzantine_Events.19.d
1297
+ picture = TRADEGOODS_eventPicture
1298
+
1299
+ is_triggered_only = yes
1300
+
1301
+ option = {
1302
+ name = MEE_Byzantine_Events.19.a
1303
+
1304
+ ai_chance = {
1305
+ factor = 1
1306
+ }
1307
+
1308
+ define_admiral = {
1309
+ shock = 2
1310
+ fire = 3
1311
+ manuever = 2
1312
+ siege = 0
1313
+ name = "Loukas Notaras"
1314
+ }
1315
+
1316
+ custom_tooltip = " "
1317
+
1318
+ add_navy_tradition = 20
1319
+ }
1320
+
1321
+ option = {
1322
+ name = MEE_Byzantine_Events.19.b
1323
+
1324
+ ai_chance = {
1325
+ factor = 1
1326
+ }
1327
+
1328
+ add_years_of_trade_income = {
1329
+ years = 2
1330
+ custom_tooltip = BYZ_add_2_years_of_trade_income
1331
+ }
1332
+
1333
+ custom_tooltip = " "
1334
+
1335
+ define_advisor = {
1336
+ type = trader
1337
+ name = "Notaras" #Can I somehow make it generate a random name?
1338
+ skill = 3
1339
+ culture = ROOT
1340
+ religion = ROOT
1341
+ cost_multiplier = 0.4 #so its slightly better than events
1342
+ }
1343
+ }
1344
+ }
1345
+
1346
+ # country_event = {
1347
+ # id = MEE_Byzantine_Events.20
1348
+ # title = MEE_Byzantine_Events.20.t #Future of the Kommerkion
1349
+ # desc = MEE_Byzantine_Events.20.d
1350
+ # picture = GOOD_WITH_MONARCH_eventPicture
1351
+
1352
+ # is_triggered_only = yes
1353
+
1354
+ # option = {
1355
+ # name = MEE_Byzantine_Events.20.a #set it up
1356
+
1357
+ # ai_chance = {
1358
+ # factor = 1
1359
+ # }
1360
+
1361
+
1362
+ # }
1363
+
1364
+ # option = {
1365
+ # name = MEE_Byzantine_Events.20.b #abolish it
1366
+
1367
+ # ai_chance = {
1368
+ # factor = 1
1369
+ # }
1370
+
1371
+
1372
+ # }
1373
+ # }
1374
+
1375
+
1376
+ country_event = {
1377
+ id = MEE_Byzantine_Events.21
1378
+ title = MEE_Byzantine_Events.21.t #Byzantine Merchants Regain Prominence
1379
+ desc = MEE_Byzantine_Events.21.d
1380
+ picture = TRADEGOODS_eventPicture
1381
+
1382
+ is_triggered_only = yes
1383
+
1384
+ option = {
1385
+ name = MEE_Byzantine_Events.21.a
1386
+
1387
+ ai_chance = {
1388
+ factor = 1
1389
+ }
1390
+
1391
+ custom_tooltip = BYZ_buff_private_trade_fleet
1392
+ set_country_flag = BYZ_private_trade_fleet_buff
1393
+ }
1394
+
1395
+ option = {
1396
+ name = MEE_Byzantine_Events.21.b
1397
+
1398
+ ai_chance = {
1399
+ factor = 1
1400
+ }
1401
+
1402
+ custom_tooltip = BYZ_buff_burgher_loans
1403
+ set_country_flag = BYZ_buff_burgher_loans_flag #I know this one doesn't end in _buff.
1404
+ }
1405
+
1406
+ option = {
1407
+ name = MEE_Byzantine_Events.21.c
1408
+
1409
+ ai_chance = {
1410
+ factor = 1
1411
+ }
1412
+
1413
+ custom_tooltip = BYZ_buff_free_enterprise
1414
+ set_country_flag = BYZ_free_enterprise_buff
1415
+ }
1416
+ }
1417
+
1418
+ country_event = {
1419
+ id = MEE_Byzantine_Events.22
1420
+ title = MEE_Byzantine_Events.22.t #Royal Purple Map
1421
+ desc = MEE_Byzantine_Events.22.d
1422
+ picture = GREAT_BUILDING_eventPicture
1423
+
1424
+ is_triggered_only = yes
1425
+
1426
+ option = {
1427
+ name = MEE_Byzantine_Events.22.a #keep our color
1428
+
1429
+ ai_chance = {
1430
+ factor = 1
1431
+ }
1432
+
1433
+
1434
+ }
1435
+
1436
+ option = {
1437
+ name = MEE_Byzantine_Events.22.b #roman empire color
1438
+
1439
+ ai_chance = {
1440
+ factor = 0
1441
+ }
1442
+
1443
+ custom_tooltip = BYZ_we_will_adopt_color_of_roman_empire
1444
+ change_country_color = { color = { 167 10 100 } }
1445
+ }
1446
+
1447
+ # option = {
1448
+ # name = MEE_Byzantine_Events.22.c #angevin empire color
1449
+
1450
+ # ai_chance = {
1451
+ # factor = 0
1452
+ # }
1453
+
1454
+ # change_country_color = { color = { 110 0 140 } }
1455
+ # }
1456
+
1457
+ # option = {
1458
+ # name = MEE_Byzantine_Events.22.e #malaya color
1459
+
1460
+ # ai_chance = {
1461
+ # factor = 0
1462
+ # }
1463
+
1464
+ # change_country_color = { color = { 80 10 165 } }
1465
+ # }
1466
+ }
1467
+
1468
+ province_event = {
1469
+ id = MEE_Byzantine_Events.23
1470
+ title = MEE_Byzantine_Events.23.t
1471
+ desc = MEE_Byzantine_Events.23.d
1472
+ picture = TRADEGOODS_eventPicture
1473
+
1474
+ is_triggered_only = yes
1475
+
1476
+ goto = root
1477
+
1478
+ option = {
1479
+ name = MEE_Byzantine_Events.23.a
1480
+
1481
+ ai_chance = {
1482
+ factor = 1
1483
+ }
1484
+
1485
+ if = {
1486
+ limit = {
1487
+ has_province_flag = BYZ_may_convert_to_dyes
1488
+ }
1489
+ change_trade_goods = dyes
1490
+ clr_province_flag = BYZ_may_convert_to_dyes
1491
+ }
1492
+ else_if = {
1493
+ limit = {
1494
+ has_province_flag = BYZ_may_convert_to_silk
1495
+ }
1496
+ change_trade_goods = silk
1497
+ clr_province_flag = BYZ_may_convert_to_silk
1498
+ }
1499
+ else_if = {
1500
+ limit = {
1501
+ has_province_flag = BYZ_may_convert_to_glass
1502
+ }
1503
+ change_trade_goods = glass
1504
+ clr_province_flag = BYZ_may_convert_to_glass
1505
+ }
1506
+ else = {
1507
+ }
1508
+ }
1509
+
1510
+ option = {
1511
+ name = MEE_Byzantine_Events.23.b
1512
+
1513
+ ai_chance = {
1514
+ factor = 0
1515
+ }
1516
+
1517
+ #custom_tooltip = BYZ_nothing_will_occur
1518
+ add_base_tax = 1
1519
+ add_base_production = 1
1520
+ add_base_manpower = 1
1521
+ }
1522
+ }
1523
+
1524
+ country_event = {
1525
+ id = MEE_Byzantine_Events.24
1526
+ title = MEE_Byzantine_Events.24.t #Mosaicists
1527
+ desc = MEE_Byzantine_Events.24.d
1528
+ picture = PAINTER_ARTIST_eventPicture
1529
+
1530
+ is_triggered_only = yes
1531
+ immediate = {
1532
+ hidden_effect = {
1533
+ save_event_target_as = byz_event_from_recipient
1534
+ #Should select the most powerful ally, most powerful player ally if possible
1535
+ random_ally = {
1536
+ save_event_target_as = byz_mosaicists_ally
1537
+ }
1538
+ every_ally = {
1539
+ limit = {
1540
+ total_development = event_target:byz_mosaicists_ally
1541
+ }
1542
+ save_event_target_as = byz_mosaicists_ally
1543
+ }
1544
+ random_ally = {
1545
+ limit = {
1546
+ ai = no #player
1547
+ was_player = yes
1548
+ }
1549
+ save_event_target_as = byz_mosaicists_ally
1550
+ }
1551
+ every_ally = {
1552
+ limit = {
1553
+ ai = no #player
1554
+ was_player = yes
1555
+ total_development = event_target:byz_mosaicists_ally
1556
+ }
1557
+ save_event_target_as = byz_mosaicists_ally
1558
+ }
1559
+ #Select most powerful country, preferably most powerful player country, from Europe or Middle East
1560
+
1561
+ random_known_country = {
1562
+ limit = {
1563
+ byz_is_in_middle_east_or_europe = yes
1564
+ NOT = { tag = ROOT }
1565
+ if = {
1566
+ limit = {
1567
+ has_saved_event_target = byz_mosaicists_ally
1568
+ }
1569
+ NOT = { tag = event_target:byz_mosaicists_ally }
1570
+ }
1571
+ }
1572
+ save_event_target_as = byz_mosaicists_powerful
1573
+ }
1574
+ every_known_country = {
1575
+ limit = {
1576
+ byz_is_in_middle_east_or_europe = yes
1577
+ NOT = { tag = ROOT }
1578
+ if = {
1579
+ limit = {
1580
+ has_saved_event_target = byz_mosaicists_ally
1581
+ }
1582
+ NOT = { tag = event_target:byz_mosaicists_ally }
1583
+ }
1584
+ total_development = event_target:byz_mosaicists_powerful
1585
+ }
1586
+ save_event_target_as = byz_mosaicists_powerful
1587
+ }
1588
+
1589
+ #Select a wealthy country that isn't also the most powerful country in the desired area
1590
+
1591
+ random_known_country = {
1592
+ limit = {
1593
+ byz_is_in_middle_east_or_europe = yes
1594
+ NOT = { tag = ROOT }
1595
+ if = {
1596
+ limit = {
1597
+ has_saved_event_target = byz_mosaicists_ally
1598
+ }
1599
+ NOT = { tag = event_target:byz_mosaicists_ally }
1600
+ }
1601
+ if = {
1602
+ limit = {
1603
+ has_saved_event_target = byz_mosaicists_powerful
1604
+ }
1605
+ NOT = { tag = event_target:byz_mosaicists_powerful }
1606
+ }
1607
+ }
1608
+ save_event_target_as = byz_mosaicists_wealthy
1609
+ }
1610
+ every_known_country = {
1611
+ limit = {
1612
+ byz_is_in_middle_east_or_europe = yes
1613
+ NOT = { tag = ROOT }
1614
+ if = {
1615
+ limit = {
1616
+ has_saved_event_target = byz_mosaicists_ally
1617
+ }
1618
+ NOT = { tag = event_target:byz_mosaicists_ally }
1619
+ }
1620
+ if = {
1621
+ limit = {
1622
+ has_saved_event_target = byz_mosaicists_powerful
1623
+ }
1624
+ NOT = { tag = event_target:byz_mosaicists_powerful }
1625
+ }
1626
+ monthly_income = event_target:byz_mosaicists_wealthy
1627
+ }
1628
+ save_event_target_as = byz_mosaicists_wealthy
1629
+ }
1630
+
1631
+ BYZ_if_saved_export_variable = {
1632
+ name = byz_mosaicists_ally
1633
+ }
1634
+ BYZ_if_saved_export_variable = {
1635
+ name = byz_mosaicists_powerful
1636
+ }
1637
+ BYZ_if_saved_export_variable = {
1638
+ name = byz_mosaicists_wealthy
1639
+ }
1640
+ }
1641
+ }
1642
+
1643
+ option = {
1644
+ name = MEE_Byzantine_Events.24.a
1645
+
1646
+ ai_chance = {
1647
+ factor = 1
1648
+ }
1649
+
1650
+ trigger = {
1651
+ has_saved_event_target = byz_mosaicists_ally
1652
+ }
1653
+
1654
+ add_country_modifier = {
1655
+ name = BYZ_supporting_allies
1656
+ duration = 3650
1657
+ }
1658
+
1659
+ event_target:byz_mosaicists_ally = {
1660
+ BYZ_offer_mosaicists = yes
1661
+ }
1662
+ }
1663
+
1664
+ option = {
1665
+ name = MEE_Byzantine_Events.24.b
1666
+
1667
+ ai_chance = {
1668
+ factor = 1
1669
+ }
1670
+
1671
+ trigger = {
1672
+ has_saved_event_target = byz_mosaicists_powerful
1673
+ }
1674
+
1675
+ add_prestige_or_monarch_power = { amount = 15 }
1676
+
1677
+ custom_tooltip = " "
1678
+
1679
+ event_target:byz_mosaicists_powerful = {
1680
+ BYZ_offer_mosaicists = yes
1681
+ }
1682
+ }
1683
+
1684
+ option = {
1685
+ name = MEE_Byzantine_Events.24.c
1686
+
1687
+ ai_chance = {
1688
+ factor = 1
1689
+ }
1690
+
1691
+ trigger = {
1692
+ has_saved_event_target = byz_mosaicists_wealthy
1693
+ }
1694
+
1695
+ add_dip_power = 25
1696
+
1697
+ custom_tooltip = " "
1698
+
1699
+ event_target:byz_mosaicists_wealthy = {
1700
+ BYZ_offer_mosaicists = yes
1701
+ }
1702
+ }
1703
+
1704
+ option = {
1705
+ name = MEE_Byzantine_Events.24.e
1706
+
1707
+ ai_chance = {
1708
+ factor = 0.01 #relatively low
1709
+ }
1710
+
1711
+ if = {
1712
+ limit = {
1713
+ has_dlc = "Leviathan"
1714
+ }
1715
+ add_country_modifier = {
1716
+ name = BYZ_mosaicists_Leviathan_self
1717
+ duration = 3650
1718
+ }
1719
+ }
1720
+ else = {
1721
+ add_country_modifier = {
1722
+ name = BYZ_mosaicists_self
1723
+ duration = 3650
1724
+ }
1725
+ }
1726
+ }
1727
+ }
1728
+
1729
+ country_event = {
1730
+ id = MEE_Byzantine_Events.25
1731
+ title = MEE_Byzantine_Events.25.t #Byzantine Offer
1732
+ desc = MEE_Byzantine_Events.25.d
1733
+ picture = ECONOMY_eventPicture
1734
+
1735
+ is_triggered_only = yes
1736
+ major = yes
1737
+ major_trigger = {
1738
+ tag = event_target:byz_event_from_recipient
1739
+ }
1740
+
1741
+ option = {
1742
+ name = MEE_Byzantine_Events.25.a
1743
+
1744
+ ai_chance = {
1745
+ factor = 1
1746
+ modifier = {
1747
+ factor = 0
1748
+ NOT = {
1749
+ years_of_income = 0.2
1750
+ has_opinion = {
1751
+ who = FROM
1752
+ value = 50
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+
1758
+ custom_tooltip = BYZ_payment
1759
+ hidden_effect = {
1760
+ while = {
1761
+ limit = {
1762
+ check_variable = {
1763
+ which = byz_yearly_income
1764
+ value = 100
1765
+ }
1766
+ }
1767
+ subtract_variable = {
1768
+ which = byz_yearly_income
1769
+ value = 100
1770
+ }
1771
+ FROM = {
1772
+ add_treasury = 100
1773
+ }
1774
+ add_treasury = -100
1775
+ }
1776
+ while = {
1777
+ limit = {
1778
+ check_variable = {
1779
+ which = byz_yearly_income
1780
+ value = 1
1781
+ }
1782
+ }
1783
+ subtract_variable = {
1784
+ which = byz_yearly_income
1785
+ value = 1
1786
+ }
1787
+ FROM = {
1788
+ add_treasury = 1
1789
+ }
1790
+ add_treasury = -1
1791
+ }
1792
+ while = {
1793
+ limit = {
1794
+ check_variable = {
1795
+ which = byz_yearly_income
1796
+ value = 0.01
1797
+ }
1798
+ }
1799
+ subtract_variable = {
1800
+ which = byz_yearly_income
1801
+ value = 0.01
1802
+ }
1803
+ FROM = {
1804
+ add_treasury = 0.01
1805
+ }
1806
+ add_treasury = -0.01
1807
+ }
1808
+ }
1809
+
1810
+ custom_tooltip = " "
1811
+
1812
+ if = {
1813
+ limit = {
1814
+ has_dlc = "Leviathan"
1815
+ }
1816
+ add_country_modifier = {
1817
+ name = BYZ_mosaicists_Leviathan
1818
+ duration = 3650
1819
+ }
1820
+ }
1821
+ else = {
1822
+ add_country_modifier = {
1823
+ name = BYZ_mosaicists
1824
+ duration = 3650
1825
+ }
1826
+ }
1827
+ }
1828
+
1829
+ option = {
1830
+ name = MEE_Byzantine_Events.25.b
1831
+
1832
+ ai_chance = {
1833
+ factor = 1
1834
+ modifier = {
1835
+ factor = 0
1836
+ OR = {
1837
+ years_of_income = 0.2
1838
+ has_opinion = {
1839
+ who = FROM
1840
+ value = 50
1841
+ }
1842
+ }
1843
+ }
1844
+ }
1845
+
1846
+ add_prestige_or_monarch_power = { amount = 10 }
1847
+
1848
+ FROM = {
1849
+ if = {
1850
+ limit = {
1851
+ has_dlc = "Leviathan"
1852
+ }
1853
+ add_country_modifier = {
1854
+ name = BYZ_mosaicists_Leviathan_self
1855
+ duration = 3650
1856
+ }
1857
+ }
1858
+ else = {
1859
+ add_country_modifier = {
1860
+ name = BYZ_mosaicists_self
1861
+ duration = 3650
1862
+ }
1863
+ }
1864
+ }
1865
+ }
1866
+
1867
+ after = {
1868
+ hidden_effect = {
1869
+ if = {
1870
+ limit = {
1871
+ has_saved_event_target = byz_mosaicists_ally
1872
+ }
1873
+ event_target:byz_mosaicists_ally = {
1874
+ set_variable = {
1875
+ which = byz_yearly_income
1876
+ value = 0
1877
+ }
1878
+ }
1879
+ }
1880
+ if = {
1881
+ limit = {
1882
+ has_saved_event_target = byz_mosaicists_powerful
1883
+ }
1884
+ event_target:byz_mosaicists_powerful = {
1885
+ set_variable = {
1886
+ which = byz_yearly_income
1887
+ value = 0
1888
+ }
1889
+ }
1890
+ }
1891
+ if = {
1892
+ limit = {
1893
+ has_saved_event_target = byz_mosaicists_wealthy
1894
+ }
1895
+ event_target:byz_mosaicists_wealthy = {
1896
+ set_variable = {
1897
+ which = byz_yearly_income
1898
+ value = 0
1899
+ }
1900
+ }
1901
+ }
1902
+ }
1903
+ }
1904
+ }
1905
+
1906
+ country_event = {
1907
+ id = MEE_Byzantine_Events.26
1908
+ title = MEE_Byzantine_Events.26.t #Price change for silk
1909
+ desc = MEE_Byzantine_Events.26.d
1910
+ picture = TRADEGOODS_eventPicture
1911
+
1912
+ is_triggered_only = yes
1913
+
1914
+ option = {
1915
+ name = MEE_Byzantine_Events.26.a
1916
+
1917
+ ai_chance = {
1918
+ factor = 1
1919
+ }
1920
+
1921
+ change_price = {
1922
+ trade_goods = silk
1923
+ key = BYZ_growing_demand
1924
+ value = 0.2
1925
+ duration = -1
1926
+ }
1927
+ }
1928
+ }
1929
+
1930
+ country_event = {
1931
+ id = MEE_Byzantine_Events.27
1932
+ title = MEE_Byzantine_Events.27.t #theme system
1933
+ desc = MEE_Byzantine_Events.27.d
1934
+ picture = BATTLE_eventPicture
1935
+
1936
+ is_triggered_only = yes
1937
+
1938
+ option = {
1939
+ name = MEE_Byzantine_Events.27.a
1940
+
1941
+ ai_chance = {
1942
+ factor = 1
1943
+ }
1944
+
1945
+ custom_tooltip = BYZ_unlock_theme_system_reform
1946
+ hidden_effect = {
1947
+ unlock_government_reform = {
1948
+ government_reform = theme_system_reform
1949
+ }
1950
+ }
1951
+
1952
+ if = {
1953
+ limit = {
1954
+ NOT = { reform_level = 5 }
1955
+ }
1956
+ change_government_reform_progress = 100
1957
+ }
1958
+ else = {
1959
+ custom_tooltip = BYZ_enact_theme_system_reform
1960
+ hidden_effect = {
1961
+ add_government_reform = theme_system_reform
1962
+ }
1963
+ }
1964
+ }
1965
+
1966
+ option = {
1967
+ name = MEE_Byzantine_Events.27.b
1968
+
1969
+ ai_chance = {
1970
+ factor = 0
1971
+ }
1972
+
1973
+ trigger = {
1974
+ reform_level = 5
1975
+ }
1976
+ change_government_reform_progress = 50
1977
+ hidden_effect = {
1978
+ unlock_government_reform = {
1979
+ government_reform = theme_system_reform
1980
+ }
1981
+ }
1982
+
1983
+ custom_tooltip = BYZ_unlock_theme_system_reform
1984
+ }
1985
+ }
1986
+
1987
+ country_event = {
1988
+ id = MEE_Byzantine_Events.28
1989
+ title = MEE_Byzantine_Events.28.t #Handle Branching Missions
1990
+ desc = MEE_Byzantine_Events.28.d
1991
+ picture = COURT_eventPicture
1992
+
1993
+ is_triggered_only = yes
1994
+
1995
+ option = {
1996
+ name = MEE_Byzantine_Events.28.a
1997
+
1998
+ ai_chance = {
1999
+ factor = 100
2000
+ }
2001
+
2002
+ trigger = {
2003
+ OR = {
2004
+ has_country_flag = BYZ_decentralized
2005
+ has_country_flag = BYZ_centralized
2006
+ }
2007
+ }
2008
+ select_current_missions = { key = BYZ }
2009
+ }
2010
+
2011
+ option = {
2012
+ name = MEE_Byzantine_Events.28.b
2013
+
2014
+ ai_chance = {
2015
+ factor = 0
2016
+ }
2017
+
2018
+ trigger = {
2019
+ NOT = { has_country_flag = BYZ_decentralized }
2020
+ }
2021
+
2022
+ clr_country_flag = BYZ_centralized
2023
+ set_country_flag = BYZ_decentralized
2024
+ swap_non_generic_missions = yes
2025
+ custom_tooltip = BYZ_preview_decentralized
2026
+ }
2027
+
2028
+ option = {
2029
+ name = MEE_Byzantine_Events.28.c
2030
+
2031
+ ai_chance = {
2032
+ factor = 0
2033
+ }
2034
+
2035
+ trigger = {
2036
+ NOT = { has_country_flag = BYZ_centralized }
2037
+ }
2038
+
2039
+ clr_country_flag = BYZ_decentralized
2040
+ set_country_flag = BYZ_centralized
2041
+ swap_non_generic_missions = yes
2042
+ custom_tooltip = BYZ_preview_centralized
2043
+ }
2044
+
2045
+ option = {
2046
+ name = MEE_Byzantine_Events.28.e
2047
+
2048
+ ai_chance = {
2049
+ factor = 0
2050
+ }
2051
+
2052
+ trigger = {
2053
+ }
2054
+
2055
+ custom_tooltip = BYZ_nothing_will_occur
2056
+ }
2057
+
2058
+ #AI section
2059
+ option = {
2060
+ trigger = {
2061
+ ai = yes
2062
+ }
2063
+ random_list = {
2064
+ 1 = { set_country_flag = BYZ_centralized clr_country_flag = BYZ_decentralized }
2065
+ 1 = { set_country_flag = BYZ_decentralized clr_country_flag = BYZ_centralized }
2066
+ }
2067
+ swap_non_generic_missions = yes
2068
+ select_current_missions = { key = BYZ }
2069
+ ai_chance = {
2070
+ factor = 100
2071
+ }
2072
+ }
2073
+ }
2074
+
2075
+ country_event = {
2076
+ id = MEE_Byzantine_Events.29
2077
+ title = MEE_Byzantine_Events.29.t
2078
+ desc = MEE_Byzantine_Events.29.d
2079
+ picture = LAND_MILITARY_eventPicture
2080
+
2081
+ is_triggered_only = yes
2082
+
2083
+ option = {
2084
+ name = MEE_Byzantine_Events.29.a
2085
+
2086
+ ai_chance = {
2087
+ factor = 100
2088
+ }
2089
+
2090
+ custom_tooltip = BYZ_upgrade_the_reliance_on_the_pronoiar
2091
+ hidden_effect = {
2092
+ remove_country_modifier = BYZ_reliance_on_the_pronoiar
2093
+ add_country_modifier = {
2094
+ name = BYZ_reliance_on_the_pronoiar_2
2095
+ duration = -1
2096
+ }
2097
+ }
2098
+ }
2099
+
2100
+ option = {
2101
+ name = MEE_Byzantine_Events.29.b
2102
+
2103
+ ai_chance = {
2104
+ factor = 100
2105
+ }
2106
+
2107
+ custom_tooltip = BYZ_pronoia_subject_no_longer_reduces_forcelimit
2108
+ set_country_flag = BYZ_no_pronoia_forcelimit_penalty
2109
+ }
2110
+
2111
+ option = {
2112
+ name = MEE_Byzantine_Events.29.c
2113
+
2114
+ ai_chance = {
2115
+ factor = 100
2116
+ }
2117
+
2118
+ custom_tooltip = BYZ_pronoia_extra_forcelimit
2119
+ set_country_flag = BYZ_extra_forcelimit_for_pronoiars_flag
2120
+ }
2121
+ }
2122
+
2123
+ country_event = {
2124
+ id = MEE_Byzantine_Events.30
2125
+ title = MEE_Byzantine_Events.30.t
2126
+ desc = MEE_Byzantine_Events.30.d
2127
+ picture = LAND_MILITARY_eventPicture
2128
+
2129
+ is_triggered_only = yes
2130
+
2131
+ option = {
2132
+ name = MEE_Byzantine_Events.30.a
2133
+
2134
+ ai_chance = {
2135
+ factor = 100
2136
+ }
2137
+
2138
+ custom_tooltip = BYZ_pronoiars_will_be_hereditary_by_default
2139
+ set_country_flag = BYZ_hereditary_pronoiars
2140
+ }
2141
+
2142
+ option = {
2143
+ name = MEE_Byzantine_Events.30.b
2144
+
2145
+ ai_chance = {
2146
+ factor = 100
2147
+ }
2148
+
2149
+ custom_tooltip = BYZ_inheriting_pronoia_will_now_give_5_crownland
2150
+ set_country_flag = BYZ_inheriting_pronoia_crownland_flag
2151
+ }
2152
+
2153
+ option = {
2154
+ name = MEE_Byzantine_Events.30.c
2155
+
2156
+ ai_chance = {
2157
+ factor = 100
2158
+ }
2159
+
2160
+ custom_tooltip = BYZ_pronoia_subjects_get_3_yearly_army_tradition
2161
+ set_country_flag = BYZ_pronoia_subjects_get_3_yearly_army_tradition_flag
2162
+ }
2163
+
2164
+ option = {
2165
+ name = MEE_Byzantine_Events.30.e
2166
+
2167
+ ai_chance = {
2168
+ factor = 100
2169
+ }
2170
+
2171
+ custom_tooltip = BYZ_pronoia_will_get_5_discipline
2172
+ set_country_flag = BYZ_pronoia_will_get_5_discipline_flag
2173
+ }
2174
+ }
2175
+
2176
+ country_event = {
2177
+ id = MEE_Byzantine_Events.31
2178
+ title = MEE_Byzantine_Events.31.t #rumelihasari
2179
+ desc = MEE_Byzantine_Events.31.d
2180
+ picture = FORT_eventPicture
2181
+
2182
+ mean_time_to_happen = {
2183
+ months = 12
2184
+ }
2185
+
2186
+ goto = 316
2187
+
2188
+ fire_only_once = yes
2189
+
2190
+ trigger = {
2191
+ tag = TUR
2192
+ has_dlc = "King of Kings"
2193
+ is_year = 1450
2194
+ 151 = {
2195
+ owned_by = BYZ
2196
+ }
2197
+ 316 = {
2198
+ owned_by = ROOT
2199
+ }
2200
+ BYZ = {
2201
+ NOT = { war_with = ROOT }
2202
+ }
2203
+ }
2204
+
2205
+ option = {
2206
+ name = MEE_Byzantine_Events.31.a
2207
+
2208
+ ai_chance = {
2209
+ factor = 100
2210
+ }
2211
+
2212
+ add_treasury = -100
2213
+
2214
+ custom_tooltip = " "
2215
+
2216
+ custom_tooltip = BYZ_it_will_take_a_year
2217
+
2218
+ custom_tooltip = " "
2219
+
2220
+ custom_tooltip = BYZ_benefits_of_the_castle
2221
+
2222
+ tooltip = {
2223
+ 316 = {
2224
+ add_province_modifier = {
2225
+ name = BYZ_rumelihasari_castle
2226
+ duration = 9125
2227
+ }
2228
+ }
2229
+ 151 = {
2230
+ add_province_modifier = {
2231
+ name = BYZ_enemy_fortifications
2232
+ duration = 1825
2233
+ }
2234
+ }
2235
+ }
2236
+
2237
+ hidden_effect = {
2238
+ country_event = { id = MEE_Byzantine_Events.32 days = 365 }
2239
+ BYZ = {
2240
+ country_event = { id = MEE_Byzantine_Events.33 days = 30 random = 60 }
2241
+ }
2242
+ }
2243
+ }
2244
+
2245
+ option = {
2246
+ name = MEE_Byzantine_Events.31.b
2247
+
2248
+ ai_chance = {
2249
+ factor = 0
2250
+ }
2251
+
2252
+
2253
+ }
2254
+ }
2255
+
2256
+ country_event = {
2257
+ id = MEE_Byzantine_Events.32
2258
+ title = MEE_Byzantine_Events.32.t
2259
+ desc = MEE_Byzantine_Events.32.d
2260
+ picture = FORT_eventPicture
2261
+
2262
+ is_triggered_only = yes
2263
+ major = yes
2264
+ major_trigger = {
2265
+ OR = {
2266
+ tag = BYZ
2267
+ owns = 151
2268
+ }
2269
+ }
2270
+
2271
+ trigger = {
2272
+ 151 = {
2273
+ owned_by = BYZ
2274
+ }
2275
+ 316 = {
2276
+ owned_by = ROOT
2277
+ }
2278
+ }
2279
+
2280
+ goto = 316
2281
+
2282
+ option = {
2283
+ name = MEE_Byzantine_Events.32.a
2284
+
2285
+ ai_chance = {
2286
+ factor = 100
2287
+ }
2288
+
2289
+ 316 = {
2290
+ if = {
2291
+ limit = {
2292
+ owned_by = ROOT
2293
+ }
2294
+ add_province_modifier = {
2295
+ name = BYZ_rumelihasari_castle
2296
+ duration = 9125
2297
+ }
2298
+ }
2299
+ }
2300
+ 151 = {
2301
+ if = {
2302
+ limit = {
2303
+ NOT = { owned_by = ROOT }
2304
+ }
2305
+ add_province_modifier = {
2306
+ name = BYZ_enemy_fortifications
2307
+ duration = 1825
2308
+ }
2309
+ }
2310
+ }
2311
+ }
2312
+ }
2313
+
2314
+ country_event = {
2315
+ id = MEE_Byzantine_Events.33
2316
+ title = MEE_Byzantine_Events.33.t
2317
+ desc = MEE_Byzantine_Events.33.d
2318
+ picture = STREET_SPEECH_eventPicture
2319
+
2320
+ is_triggered_only = yes
2321
+
2322
+ goto = 316
2323
+
2324
+ trigger = {
2325
+ 151 = {
2326
+ owned_by = ROOT
2327
+ }
2328
+ 316 = {
2329
+ owned_by = FROM
2330
+ }
2331
+ }
2332
+
2333
+ option = {
2334
+ name = MEE_Byzantine_Events.33.a
2335
+
2336
+ ai_chance = {
2337
+ factor = 100
2338
+ }
2339
+
2340
+ reduce_stability_or_adm_power = yes
2341
+
2342
+ custom_tooltip = " "
2343
+
2344
+ custom_tooltip = BYZ_it_will_be_finished_soon
2345
+ tooltip = {
2346
+ 316 = {
2347
+ add_province_modifier = {
2348
+ name = BYZ_rumelihasari_castle
2349
+ duration = 9125
2350
+ }
2351
+ }
2352
+ 151 = {
2353
+ add_province_modifier = {
2354
+ name = BYZ_enemy_fortifications
2355
+ duration = 1825
2356
+ }
2357
+ }
2358
+ }
2359
+ }
2360
+ }
2361
+
2362
+ country_event = {
2363
+ id = MEE_Byzantine_Events.34
2364
+ title = MEE_Byzantine_Events.34.t #ottomans ceases tribute for orhan
2365
+ desc = MEE_Byzantine_Events.34.d
2366
+ picture = BANKRUPTCY_eventPicture
2367
+
2368
+ mean_time_to_happen = {
2369
+ months = 12
2370
+ }
2371
+
2372
+ fire_only_once = yes
2373
+
2374
+ trigger = {
2375
+ tag = BYZ
2376
+ exists = TUR
2377
+ is_year = 1448
2378
+ }
2379
+
2380
+ option = {
2381
+ name = MEE_Byzantine_Events.34.a
2382
+
2383
+ ai_chance = {
2384
+ factor = 66
2385
+ }
2386
+
2387
+ custom_tooltip = BYZ_we_will_demand_the_tribute
2388
+ TUR = { country_event = { id = MEE_Byzantine_Events.35 days = 10 } }
2389
+ }
2390
+
2391
+ option = {
2392
+ name = MEE_Byzantine_Events.34.b
2393
+
2394
+ ai_chance = {
2395
+ factor = 33
2396
+ }
2397
+
2398
+ custom_tooltip = BYZ_orhan_will_remain_in_constantinople
2399
+ set_country_flag = BYZ_orhan_in_constantinople
2400
+ add_dip_power = 50
2401
+ }
2402
+ }
2403
+
2404
+ country_event = {
2405
+ id = MEE_Byzantine_Events.35
2406
+ title = MEE_Byzantine_Events.35.t
2407
+ desc = MEE_Byzantine_Events.35.d
2408
+ picture = BAD_WITH_MONARCH_eventPicture
2409
+
2410
+ is_triggered_only = yes
2411
+ major = yes
2412
+ major_trigger = {
2413
+ tag = BYZ
2414
+ }
2415
+ trigger = { exists = BYZ }
2416
+
2417
+ option = {
2418
+ name = MEE_Byzantine_Events.35.a
2419
+
2420
+ ai_chance = {
2421
+ factor = 66
2422
+ }
2423
+
2424
+ custom_tooltip = BYZ_might_release
2425
+ BYZ = { country_event = { id = MEE_Byzantine_Events.36 days = 30 } }
2426
+ }
2427
+
2428
+ option = {
2429
+ name = MEE_Byzantine_Events.35.b
2430
+
2431
+ ai_chance = {
2432
+ factor = 33
2433
+ }
2434
+
2435
+ add_treasury = -100
2436
+ BYZ = { add_treasury = 100 }
2437
+ }
2438
+ }
2439
+
2440
+ country_event = {
2441
+ id = MEE_Byzantine_Events.36
2442
+ title = MEE_Byzantine_Events.36.t
2443
+ desc = MEE_Byzantine_Events.36.d
2444
+ picture = BORDER_TENSION_eventPicture
2445
+
2446
+ is_triggered_only = yes
2447
+ major = yes
2448
+ major_trigger = {
2449
+ tag = TUR
2450
+ }
2451
+ trigger = { exists = TUR }
2452
+
2453
+ option = {
2454
+ name = MEE_Byzantine_Events.36.a
2455
+
2456
+ ai_chance = {
2457
+ factor = 66
2458
+ }
2459
+
2460
+ add_yearly_manpower = -1
2461
+ TUR = {
2462
+ capital_scope = {
2463
+ spawn_rebels = {
2464
+ type = pretender_rebels
2465
+ size = 3
2466
+ leader = "Orhan Celebi"
2467
+ }
2468
+ }
2469
+ }
2470
+
2471
+ hidden_effect = {
2472
+ if = {
2473
+ limit = {
2474
+ TUR = { ai = no }
2475
+ }
2476
+ TUR = {
2477
+ declare_war_with_cb = {
2478
+ who = ROOT
2479
+ casus_belli = cb_conquest
2480
+ war_goal_province = 151
2481
+ }
2482
+ }
2483
+ }
2484
+ }
2485
+ }
2486
+
2487
+ option = {
2488
+ name = MEE_Byzantine_Events.36.b
2489
+
2490
+ ai_chance = {
2491
+ factor = 33
2492
+ }
2493
+
2494
+ custom_tooltip = BYZ_orhan_will_remain_in_constantinople
2495
+ set_country_flag = BYZ_orhan_in_constantinople
2496
+ }
2497
+ }
2498
+
2499
+ country_event = {
2500
+ id = MEE_Byzantine_Events.37
2501
+ title = MEE_Byzantine_Events.37.t #orhan's retinue
2502
+ desc = MEE_Byzantine_Events.37.d
2503
+ picture = COUNTRY_COLLAPSE_eventPicture
2504
+
2505
+ mean_time_to_happen = {
2506
+ months = 12
2507
+ }
2508
+
2509
+ fire_only_once = yes
2510
+
2511
+ trigger = {
2512
+ has_country_flag = BYZ_orhan_in_constantinople
2513
+ tag = BYZ
2514
+ war_with = TUR
2515
+ owns = 151
2516
+ }
2517
+
2518
+ option = {
2519
+ name = MEE_Byzantine_Events.37.a
2520
+
2521
+ ai_chance = {
2522
+ factor = 50
2523
+ }
2524
+
2525
+ goto = 151
2526
+
2527
+ 151 = {
2528
+ add_province_modifier = {
2529
+ name = BYZ_turkish_retinue
2530
+ duration = 3650
2531
+ }
2532
+ }
2533
+ }
2534
+
2535
+ option = {
2536
+ name = MEE_Byzantine_Events.37.b
2537
+
2538
+ ai_chance = {
2539
+ factor = 50
2540
+ }
2541
+
2542
+ add_yearly_manpower = 1
2543
+ }
2544
+
2545
+ after = {
2546
+ clr_country_flag = BYZ_orhan_in_constantinople
2547
+ }
2548
+ }
2549
+
2550
+ country_event = {
2551
+ id = MEE_Byzantine_Events.38
2552
+ title = MEE_Byzantine_Events.38.t #constantinople outgrows its walls
2553
+ desc = MEE_Byzantine_Events.38.d
2554
+ picture = {
2555
+ picture = CONSTANTINOPLE_eventPicture
2556
+ trigger = {
2557
+ has_dlc = "King of Kings"
2558
+ }
2559
+ }
2560
+ picture = {
2561
+ picture = CITY_VIEW_eventPicture
2562
+ trigger = {
2563
+ not = { has_dlc = "King of Kings" }
2564
+ }
2565
+ }
2566
+
2567
+ mean_time_to_happen = {
2568
+ months = 120
2569
+ }
2570
+
2571
+ fire_only_once = yes
2572
+ goto = 151
2573
+ trigger = {
2574
+ tag = BYZ
2575
+ owns = 151
2576
+ 151 = {
2577
+ development = 40
2578
+ num_of_buildings_in_province = 5
2579
+ }
2580
+ }
2581
+
2582
+ option = {
2583
+ name = MEE_Byzantine_Events.38.a
2584
+
2585
+ ai_chance = {
2586
+ factor = 50
2587
+ }
2588
+
2589
+ add_prestige_or_monarch_power = { amount = 40 }
2590
+
2591
+ custom_tooltip = " "
2592
+
2593
+ add_country_modifier = {
2594
+ name = BYZ_constantinople_outgrows_limits
2595
+ duration = 5475
2596
+ }
2597
+ }
2598
+ }
2599
+
2600
+ country_event = {
2601
+ id = MEE_Byzantine_Events.39
2602
+ title = MEE_Byzantine_Events.39.t #campaign into thessaly
2603
+ desc = MEE_Byzantine_Events.39.d
2604
+ picture = BORDER_TENSION_eventPicture
2605
+
2606
+ mean_time_to_happen = {
2607
+ months = 12
2608
+ modifier = {
2609
+ factor = 0.1
2610
+ is_year = 1449
2611
+ }
2612
+ }
2613
+
2614
+ fire_only_once = yes
2615
+
2616
+ trigger = {
2617
+ tag = BYZ
2618
+ is_year = 1446
2619
+ OR = {
2620
+ has_ruler = "Konstantinos"
2621
+ has_heir = "Konstantinos"
2622
+ }
2623
+ NOT = { is_year = 1450 }
2624
+ exists = TUR
2625
+ }
2626
+
2627
+ option = {
2628
+ name = MEE_Byzantine_Events.39.a
2629
+
2630
+ ai_chance = {
2631
+ factor = 75
2632
+ }
2633
+
2634
+ add_mil_power = -150
2635
+
2636
+ custom_tooltip = " "
2637
+
2638
+ if = {
2639
+ limit = {
2640
+ has_ruler = "Konstantinos"
2641
+ }
2642
+ change_mil = 1
2643
+ define_ruler_to_general = {
2644
+ fire = 3
2645
+ shock = 3
2646
+ manuever = 4
2647
+ siege = 1
2648
+ }
2649
+ set_ruler_flag = civil_war_exempt
2650
+ }
2651
+ else = {
2652
+ change_heir_mil = 1
2653
+ define_heir_to_general = {
2654
+ fire = 3
2655
+ shock = 3
2656
+ manuever = 4
2657
+ siege = 1
2658
+ }
2659
+ set_heir_flag = civil_war_exempt
2660
+ }
2661
+
2662
+ custom_tooltip = " "
2663
+
2664
+ add_country_modifier = {
2665
+ name = BYZ_experience_assaulting_thessaly
2666
+ duration = 3650
2667
+ }
2668
+
2669
+ custom_tooltip = BYZ_ottomans_may_mount_punitive_expedition
2670
+ tooltip = {
2671
+ TUR = {
2672
+ add_mil_power = -25
2673
+ morea_area = {
2674
+ limit = {
2675
+ owned_by = BYZ
2676
+ }
2677
+ add_province_modifier = {
2678
+ name = BYZ_ottoman_expedition
2679
+ duration = 7300
2680
+ }
2681
+ }
2682
+ }
2683
+ }
2684
+
2685
+ hidden_effect = {
2686
+ TUR = {
2687
+ country_event = { id = MEE_Byzantine_Events.40 days = 30 }
2688
+ }
2689
+ }
2690
+ }
2691
+
2692
+ option = {
2693
+ name = MEE_Byzantine_Events.39.b
2694
+
2695
+ ai_chance = {
2696
+ factor = 25
2697
+ }
2698
+
2699
+ if = {
2700
+ limit = {
2701
+ has_ruler = "Konstantinos"
2702
+ }
2703
+ change_mil = 1
2704
+ set_ruler_flag = civil_war_exempt
2705
+ }
2706
+ else = {
2707
+ change_heir_mil = 1
2708
+ set_heir_flag = civil_war_exempt
2709
+ }
2710
+ }
2711
+ }
2712
+
2713
+ country_event = {
2714
+ id = MEE_Byzantine_Events.40
2715
+ title = MEE_Byzantine_Events.40.t #punitive expedition
2716
+ desc = MEE_Byzantine_Events.40.d
2717
+ picture = BATTLE_eventPicture
2718
+
2719
+ is_triggered_only = yes
2720
+ major = yes
2721
+ major_trigger = {
2722
+ tag = BYZ
2723
+ }
2724
+ option = {
2725
+ name = MEE_Byzantine_Events.40.a
2726
+
2727
+ ai_chance = {
2728
+ factor = 75
2729
+ }
2730
+
2731
+ add_mil_power = -25
2732
+ morea_area = {
2733
+ limit = {
2734
+ owned_by = BYZ
2735
+ }
2736
+ add_province_modifier = {
2737
+ name = BYZ_ottoman_expedition
2738
+ duration = 7300
2739
+ }
2740
+ }
2741
+ }
2742
+
2743
+ option = {
2744
+ name = MEE_Byzantine_Events.40.b
2745
+
2746
+ ai_chance = {
2747
+ factor = 25
2748
+ }
2749
+
2750
+
2751
+ }
2752
+ }
2753
+
2754
+ country_event = {
2755
+ id = MEE_Byzantine_Events.41
2756
+ title = MEE_Byzantine_Events.41.t #evade taxes
2757
+ desc = MEE_Byzantine_Events.41.d
2758
+ picture = ECONOMY_eventPicture
2759
+
2760
+ mean_time_to_happen = {
2761
+ months = 60
2762
+ }
2763
+
2764
+ fire_only_once = yes
2765
+
2766
+ trigger = {
2767
+ tag = BYZ
2768
+ has_estate_privilege = estate_burghers_exkousseiai_for_latins
2769
+ }
2770
+
2771
+ option = {
2772
+ name = MEE_Byzantine_Events.41.a
2773
+
2774
+ ai_chance = {
2775
+ factor = 25
2776
+ }
2777
+
2778
+ add_years_of_income = 2
2779
+
2780
+ custom_tooltip = " "
2781
+
2782
+ add_estate_loyalty = { #no need for check. this privilege requires a burgher-only privilege.
2783
+ estate = estate_burghers
2784
+ loyalty = -20
2785
+ }
2786
+
2787
+ custom_tooltip = " "
2788
+
2789
+ custom_tooltip = BYZ_kommerkion_will_give_5_less_loyalty
2790
+ set_country_flag = BYZ_kommerkion_will_give_5_less_loyalty_flag
2791
+ }
2792
+
2793
+ option = {
2794
+ name = MEE_Byzantine_Events.41.b
2795
+
2796
+ ai_chance = {
2797
+ factor = 25
2798
+ }
2799
+
2800
+ custom_tooltip = BYZ_kommerkion_will_give_5_less_trade_eff
2801
+ set_country_flag = BYZ_kommerkion_will_give_5_less_trade_eff_flag
2802
+ }
2803
+
2804
+ option = {
2805
+ name = MEE_Byzantine_Events.41.c
2806
+
2807
+ ai_chance = {
2808
+ factor = 25
2809
+ }
2810
+
2811
+ add_years_of_income = -2
2812
+
2813
+ custom_tooltip = " "
2814
+ remove_estate_privilege = estate_burghers_exkousseiai_for_latins
2815
+ }
2816
+ }
2817
+
2818
+ country_event = {
2819
+ id = MEE_Byzantine_Events.42
2820
+ title = MEE_Byzantine_Events.42.t #demetrios claims the throne
2821
+ desc = MEE_Byzantine_Events.42.d
2822
+ picture = BAD_WITH_MONARCH_eventPicture
2823
+
2824
+ is_triggered_only = yes #on action
2825
+ trigger = {
2826
+ NOT = { is_year = 1460 }
2827
+ has_ruler = "Konstantinos"
2828
+ }
2829
+
2830
+ option = {
2831
+ name = MEE_Byzantine_Events.42.a
2832
+
2833
+ ai_chance = {
2834
+ factor = 25
2835
+ }
2836
+
2837
+ add_ruler_modifier = {
2838
+ name = BYZ_demetrios_claims_the_throne
2839
+ duration = -1
2840
+ }
2841
+ }
2842
+ }
2843
+
2844
+ country_event = {
2845
+ id = MEE_Byzantine_Events.43
2846
+ title = MEE_Byzantine_Events.43.t # Ottoman troops haul ships
2847
+ desc = MEE_Byzantine_Events.43.d
2848
+ picture = HARBOUR_eventPicture
2849
+
2850
+ mean_time_to_happen = {
2851
+ months = 12
2852
+ }
2853
+
2854
+ fire_only_once = yes
2855
+ major = yes
2856
+ major_trigger = {
2857
+ OR = {
2858
+ tag = TUR
2859
+ war_with = ROOT
2860
+ }
2861
+ }
2862
+
2863
+ goto = 316
2864
+
2865
+ trigger = {
2866
+ tag = BYZ
2867
+ 151 = {
2868
+ owned_by = BYZ
2869
+ sieged_by = ROOT
2870
+ }
2871
+ 316 = {
2872
+ owned_by = ROOT
2873
+ controlled_by = ROOT
2874
+ }
2875
+ }
2876
+
2877
+ option = {
2878
+ name = MEE_Byzantine_Events.42.a
2879
+
2880
+ ai_chance = {
2881
+ factor = 25
2882
+ }
2883
+
2884
+ 316 = {
2885
+ galley = ROOT
2886
+ galley = ROOT
2887
+ galley = ROOT
2888
+ galley = ROOT
2889
+ galley = ROOT
2890
+ }
2891
+ }
2892
+ }
2893
+
2894
+ country_event = {
2895
+ id = MEE_Byzantine_Events.44
2896
+ title = MEE_Byzantine_Events.44.t #Walls of Constantinople
2897
+ desc = MEE_Byzantine_Events.44.d
2898
+ picture = FORT_eventPicture
2899
+
2900
+ fire_only_once = yes
2901
+
2902
+ goto = 151
2903
+
2904
+ trigger = {
2905
+ tag = TUR
2906
+ 151 = {
2907
+ owned_by = BYZ
2908
+ sieged_by = ROOT
2909
+ }
2910
+ has_country_flag = tur_pierces_through_constantinople
2911
+ }
2912
+ major = yes
2913
+ major_trigger = {
2914
+ OR = {
2915
+ tag = BYZ
2916
+ war_with = ROOT
2917
+ }
2918
+ }
2919
+ immediate = {
2920
+ hidden_effect = {
2921
+ clr_country_flag = tur_pierces_through_constantinople
2922
+ }
2923
+ }
2924
+
2925
+ option = {
2926
+ name = MEE_Byzantine_Events.44.a
2927
+
2928
+ ai_chance = {
2929
+ factor = 25
2930
+ }
2931
+
2932
+ 151 = {
2933
+ change_siege = 1
2934
+ add_province_modifier = {
2935
+ name = BYZ_piercing_the_theodosian_walls
2936
+ duration = 730
2937
+ }
2938
+ }
2939
+ }
2940
+ }
2941
+
2942
+ country_event = {
2943
+ id = MEE_Byzantine_Events.45
2944
+ title = MEE_Byzantine_Events.45.t #Fall of Constantinople
2945
+ desc = MEE_Byzantine_Events.45.d
2946
+ picture = SIEGE_PRAGUE_CASTLE_eventPicture
2947
+
2948
+ fire_only_once = yes
2949
+ trigger = {
2950
+ tag = TUR
2951
+ 151 = {
2952
+ owned_by = BYZ
2953
+ controlled_by = ROOT
2954
+ }
2955
+
2956
+ NOT = { exists = MOE }
2957
+ }
2958
+
2959
+ option = {
2960
+ name = MEE_Byzantine_Events.45.a
2961
+
2962
+ ai_chance = {
2963
+ factor = 90
2964
+ modifier = {
2965
+ factor = 0
2966
+ BYZ = { ai = no }
2967
+ }
2968
+ }
2969
+
2970
+ add_prestige_or_monarch_power = { amount = 10 }
2971
+ }
2972
+
2973
+ option = {
2974
+ name = MEE_Byzantine_Events.45.b
2975
+
2976
+ ai_chance = {
2977
+ factor = 10
2978
+ modifier = {
2979
+ factor = 0
2980
+ BYZ = { ai = yes }
2981
+ }
2982
+ }
2983
+
2984
+ BYZ = {
2985
+ country_event = { id = MEE_Byzantine_Events.46 }
2986
+ }
2987
+
2988
+ custom_tooltip = BYZ_if_byz_accepts
2989
+ tooltip = {
2990
+ BYZ = {
2991
+ change_tag = MOE
2992
+ define_ruler = {
2993
+ name = "Demetrios"
2994
+ dynasty = "Palaiologos"
2995
+ adm = 2
2996
+ dip = 1
2997
+ mil = 1
2998
+ age = 30
2999
+ claim = 95
3000
+ }
3001
+ if = {
3002
+ limit = {
3003
+ thrace_area = { country_or_non_sovereign_subject_holds = BYZ }
3004
+ }
3005
+ thrace_area = {
3006
+ limit = {
3007
+ country_or_non_sovereign_subject_holds = BYZ
3008
+ }
3009
+ cede_province = ROOT
3010
+ }
3011
+ }
3012
+ TUR = {
3013
+ white_peace = ROOT
3014
+ vassalize = ROOT
3015
+ }
3016
+ add_liberty_desire = -25
3017
+ add_truce_with = TUR
3018
+ TUR = { add_truce_with = BYZ }
3019
+ }
3020
+ }
3021
+ }
3022
+ }
3023
+
3024
+ country_event = {
3025
+ id = MEE_Byzantine_Events.46
3026
+ title = MEE_Byzantine_Events.46.t #Ottomans Advance on Morea
3027
+ desc = MEE_Byzantine_Events.46.d
3028
+ picture = SIEGE_eventPicture
3029
+
3030
+ is_triggered_only = yes
3031
+
3032
+ option = {
3033
+ name = MEE_Byzantine_Events.46.a
3034
+
3035
+ ai_chance = {
3036
+ factor = 100
3037
+ }
3038
+
3039
+ if = {
3040
+ limit = {
3041
+ NOT = { exists = MOE }
3042
+ }
3043
+ change_tag = MOE
3044
+ define_ruler = {
3045
+ name = "Demetrios"
3046
+ dynasty = "Palaiologos"
3047
+ adm = 2
3048
+ dip = 1
3049
+ mil = 1
3050
+ age = 30
3051
+ claim = 95
3052
+ }
3053
+ if = {
3054
+ limit = {
3055
+ thrace_area = { country_or_non_sovereign_subject_holds = ROOT }
3056
+ }
3057
+ thrace_area = {
3058
+ limit = {
3059
+ country_or_non_sovereign_subject_holds = ROOT
3060
+ }
3061
+ cede_province = TUR
3062
+ }
3063
+ }
3064
+ TUR = {
3065
+ white_peace = ROOT
3066
+ vassalize = ROOT
3067
+ remove_historical_rival = root
3068
+ }
3069
+ add_liberty_desire = -25
3070
+ add_truce_with = TUR
3071
+ remove_historical_rival = TUR
3072
+ TUR = { add_truce_with = root }
3073
+ set_country_flag = BYZ_accepted_ottoman_threat
3074
+ }
3075
+ }
3076
+
3077
+ option = {
3078
+ name = MEE_Byzantine_Events.46.b
3079
+
3080
+ ai_chance = {
3081
+ factor = 0
3082
+ }
3083
+
3084
+ FROM = {
3085
+ add_prestige_or_monarch_power = { amount = 10 }
3086
+ }
3087
+
3088
+ custom_tooltip = " "
3089
+
3090
+ add_country_modifier = {
3091
+ name = BYZ_fight_until_the_last_man
3092
+ duration = 3650
3093
+ }
3094
+ }
3095
+ }
3096
+
3097
+ country_event = {
3098
+ id = MEE_Byzantine_Events.47
3099
+ title = MEE_Byzantine_Events.47.t #Unionist Revolt
3100
+ desc = MEE_Byzantine_Events.47.d
3101
+ picture = RELIGIOUS_TURMOIL_eventPicture
3102
+
3103
+ mean_time_to_happen = {
3104
+ months = 240
3105
+ modifier = {
3106
+ factor = 0.5
3107
+ is_year = 1460
3108
+ }
3109
+ modifier = {
3110
+ factor = 0.5
3111
+ num_of_cities = 15 #no longer in danger
3112
+ }
3113
+ modifier = {
3114
+ factor = 0.5
3115
+ num_of_cities = 30 #definitely no longer in danger
3116
+ }
3117
+ }
3118
+
3119
+ trigger = {
3120
+ has_estate_privilege = estate_church_union_of_the_churches
3121
+ # any_owned_province = {
3122
+ # religion = orthodox
3123
+ # }
3124
+ or = {
3125
+ is_at_war = no
3126
+ total_development = 100
3127
+ }
3128
+ }
3129
+
3130
+ goto = byz_revolt
3131
+
3132
+ immediate = {
3133
+ hidden_effect = {
3134
+ capital_scope = {
3135
+ save_event_target_as = byz_revolt
3136
+ }
3137
+ random_list = {
3138
+ 50 = {
3139
+ }
3140
+ 50 = {
3141
+ random_owned_province = {
3142
+ limit = {
3143
+ religion = orthodox
3144
+ }
3145
+ save_event_target_as = byz_revolt
3146
+ }
3147
+ }
3148
+ }
3149
+ }
3150
+ }
3151
+
3152
+ option = {
3153
+ name = MEE_Byzantine_Events.47.a
3154
+
3155
+ ai_chance = {
3156
+ factor = 1
3157
+ }
3158
+
3159
+ event_target:byz_revolt = {
3160
+ if = {
3161
+ limit = {
3162
+ ROOT = { total_development = 300 }
3163
+ }
3164
+ orthodox_rebels = 3
3165
+ }
3166
+ else_if = {
3167
+ limit = {
3168
+ ROOT = { total_development = 150 }
3169
+ }
3170
+ orthodox_rebels = 2
3171
+ }
3172
+ else = {
3173
+ orthodox_rebels = 1
3174
+ }
3175
+ }
3176
+ }
3177
+ }
3178
+
3179
+ country_event = {
3180
+ id = MEE_Byzantine_Events.48
3181
+ title = MEE_Byzantine_Events.48.t #We mend the schism
3182
+ desc = MEE_Byzantine_Events.48.d
3183
+ picture = RELIGIOUS_CONVERSION_eventPicture
3184
+
3185
+ is_triggered_only = yes
3186
+
3187
+ option = {
3188
+ name = MEE_Byzantine_Events.48.a
3189
+
3190
+ ai_chance = {
3191
+ factor = 1
3192
+ }
3193
+
3194
+ if = {
3195
+ limit = {
3196
+ religion = orthodox
3197
+ }
3198
+ add_patriarch_authority = 0.2
3199
+
3200
+ custom_tooltip = " "
3201
+ }
3202
+
3203
+ add_country_modifier = {
3204
+ name = "conversion_of_rome"
3205
+ duration = 7300
3206
+ }
3207
+
3208
+ custom_tooltip = " "
3209
+
3210
+ define_advisor = {
3211
+ type = theologian
3212
+ skill = 3
3213
+ culture = umbrian
3214
+ religion = ROOT
3215
+ cost_multiplier = 0.25
3216
+ }
3217
+
3218
+ if = {
3219
+ limit = {
3220
+ religion = orthodox
3221
+ }
3222
+ custom_tooltip = " "
3223
+
3224
+ custom_tooltip = BYZ_every_catholic
3225
+ hidden_effect = {
3226
+ every_country = {
3227
+ limit = {
3228
+ religion = catholic
3229
+ knows_country = BYZ
3230
+ }
3231
+ country_event = { id = flavor_byz.2 }
3232
+ }
3233
+ }
3234
+ }
3235
+ }
3236
+ }
3237
+
3238
+ country_event = {
3239
+ id = MEE_Byzantine_Events.49
3240
+ title = MEE_Byzantine_Events.49.t #Impending doom
3241
+ desc = MEE_Byzantine_Events.49.d
3242
+ picture = REFORM_eventPicture
3243
+
3244
+ fire_only_once = yes
3245
+
3246
+ trigger = {
3247
+ tag = BYZ
3248
+ war_with = TUR
3249
+ owns = 151
3250
+ }
3251
+
3252
+ mean_time_to_happen = { months = 6 }
3253
+
3254
+ option = {
3255
+ name = MEE_Byzantine_Events.49.a
3256
+
3257
+ ai_chance = {
3258
+ factor = 1
3259
+ }
3260
+
3261
+ add_stability_or_adm_power = yes
3262
+ }
3263
+
3264
+ option = {
3265
+ name = MEE_Byzantine_Events.49.b
3266
+
3267
+ ai_chance = {
3268
+ factor = 1
3269
+ }
3270
+
3271
+ add_country_modifier = {
3272
+ name = BYZ_to_walls
3273
+ duration = 1825
3274
+ }
3275
+ }
3276
+
3277
+ option = {
3278
+ name = MEE_Byzantine_Events.49.c
3279
+
3280
+ ai_chance = {
3281
+ factor = 1
3282
+ }
3283
+
3284
+ add_country_modifier = {
3285
+ name = BYZ_onto_the_fields
3286
+ duration = 1825
3287
+ }
3288
+ }
3289
+
3290
+ after = {
3291
+ country_event = { id = MEE_Byzantine_Events.50 days = 45 random = 45 }
3292
+ }
3293
+ }
3294
+
3295
+ country_event = {
3296
+ id = MEE_Byzantine_Events.50
3297
+ title = MEE_Byzantine_Events.50.t #Giovanni Gustiniani
3298
+ desc = MEE_Byzantine_Events.50.d
3299
+ picture = MILITARY_CAMP_eventPicture
3300
+
3301
+ is_triggered_only = yes
3302
+
3303
+ trigger = {
3304
+ has_estate_privilege = estate_church_union_of_the_churches
3305
+ }
3306
+
3307
+ option = {
3308
+ name = MEE_Byzantine_Events.50.a
3309
+
3310
+ ai_chance = {
3311
+ factor = 1
3312
+ }
3313
+
3314
+ define_general = {
3315
+ name = "Giovanni Giustiniani"
3316
+ fire = 2
3317
+ shock = 2
3318
+ manuever = 3
3319
+ siege = 0
3320
+ }
3321
+
3322
+ add_yearly_manpower = 1
3323
+ add_yearly_sailors = 1
3324
+ }
3325
+ }
3326
+
3327
+ country_event = {
3328
+ id = MEE_Byzantine_Events.51
3329
+ title = MEE_Byzantine_Events.51.t #Confirm the Union of Florence
3330
+ desc = MEE_Byzantine_Events.51.d
3331
+ picture = ORTHODOX_eventPicture
3332
+
3333
+ fire_only_once = yes
3334
+
3335
+ trigger = {
3336
+ tag = BYZ
3337
+ has_estate_privilege = estate_church_union_of_the_churches
3338
+ }
3339
+
3340
+ major = yes
3341
+ major_trigger = {
3342
+ OR = {
3343
+ religion = catholic
3344
+ religion = orthodox
3345
+ }
3346
+ }
3347
+
3348
+ mean_time_to_happen = { months = 3 }
3349
+
3350
+ option = {
3351
+ name = MEE_Byzantine_Events.51.a
3352
+
3353
+ ai_chance = {
3354
+ factor = 80
3355
+ }
3356
+
3357
+ custom_tooltip = BYZ_open_to_the_west
3358
+ }
3359
+
3360
+ option = {
3361
+ name = MEE_Byzantine_Events.51.b
3362
+
3363
+ ai_chance = {
3364
+ factor = 20
3365
+ }
3366
+
3367
+ remove_estate_privilege = estate_church_union_of_the_churches
3368
+
3369
+ if = {
3370
+ limit = {
3371
+ has_estate = estate_church
3372
+ }
3373
+ custom_tooltip = " "
3374
+ add_estate_loyalty = {
3375
+ estate = estate_church
3376
+ loyalty = 25
3377
+ }
3378
+ }
3379
+
3380
+ custom_tooltip = " "
3381
+
3382
+ add_country_modifier = {
3383
+ name = BYZ_denied_the_westerners
3384
+ duration = 7300
3385
+ }
3386
+
3387
+ custom_tooltip = BYZ_lose_opinion_with_all_catholics
3388
+ hidden_effect = {
3389
+ every_known_country = {
3390
+ limit = {
3391
+ religion = catholic
3392
+ }
3393
+ add_opinion = {
3394
+ who = ROOT
3395
+ modifier = BYZ_refused_union
3396
+ }
3397
+ }
3398
+ }
3399
+ }
3400
+ }
3401
+
3402
+ country_event = {
3403
+ id = MEE_Byzantine_Events.52
3404
+ title = MEE_Byzantine_Events.52.t #Papal Assertiveness
3405
+ desc = MEE_Byzantine_Events.52.d
3406
+ picture = ORTHODOX_eventPicture
3407
+
3408
+ fire_only_once = yes
3409
+
3410
+ trigger = {
3411
+ tag = BYZ
3412
+ exists = TUR
3413
+ TUR = { ai = yes }
3414
+ has_estate_privilege = estate_church_union_of_the_churches
3415
+ is_in_war = {
3416
+ defender_leader = root
3417
+ attacker_leader = TUR
3418
+ }
3419
+ }
3420
+
3421
+ mean_time_to_happen = { months = 12 }
3422
+
3423
+ option = {
3424
+ name = MEE_Byzantine_Events.52.a
3425
+
3426
+ ai_chance = {
3427
+ factor = 95
3428
+ }
3429
+
3430
+ }
3431
+
3432
+ option = {
3433
+ name = MEE_Byzantine_Events.52.b
3434
+
3435
+ ai_chance = {
3436
+ factor = 5
3437
+ }
3438
+
3439
+ change_religion = catholic
3440
+ change_tag = LAE
3441
+ if = {
3442
+ limit = { ironman = yes }
3443
+ custom_tooltip = BYZ_no_longer_eligible_for_byz_achievements
3444
+ set_country_flag = byz_dishonoring_justinian
3445
+ }
3446
+ set_country_flag = BYZ_gave_in_to_papal_pressure
3447
+ set_country_flag = has_byz_missions
3448
+ hidden_effect = {
3449
+ save_event_target_as = byz_latin_empire
3450
+ }
3451
+
3452
+ custom_tooltip = " "
3453
+
3454
+ custom_tooltip = BYZ_conversion_to_orthodox
3455
+
3456
+ custom_tooltip = " "
3457
+
3458
+ PAP = {
3459
+ country_event = { id = MEE_Byzantine_Events.53 days = 3 }
3460
+ }
3461
+
3462
+ custom_tooltip = " "
3463
+
3464
+ custom_tooltip = BYZ_organize_a_crusade
3465
+
3466
+ PAP = {
3467
+ country_event = { id = MEE_Byzantine_Events.54 days = 30 }
3468
+ }
3469
+ }
3470
+ }
3471
+
3472
+ country_event = {
3473
+ id = MEE_Byzantine_Events.53
3474
+ title = MEE_Byzantine_Events.53.t
3475
+ desc = MEE_Byzantine_Events.53.d
3476
+ picture = POPE_PREACHING_eventPicture
3477
+
3478
+ is_triggered_only = yes
3479
+
3480
+ major = yes
3481
+ major_trigger = {
3482
+ OR = {
3483
+ religion = catholic
3484
+ religion = orthodox
3485
+ }
3486
+ }
3487
+
3488
+ option = {
3489
+ name = MEE_Byzantine_Events.53.a
3490
+
3491
+ ai_chance = {
3492
+ factor = 95
3493
+ }
3494
+
3495
+ custom_tooltip = BYZ_every_catholic_country
3496
+ tooltip = {
3497
+ add_country_modifier = {
3498
+ name = BYZ_unity_with_constantinople
3499
+ duration = 9125
3500
+ }
3501
+ }
3502
+ hidden_effect = {
3503
+ every_known_country = {
3504
+ limit = {
3505
+ religion = catholic
3506
+ }
3507
+ add_country_modifier = {
3508
+ name = BYZ_unity_with_constantinople
3509
+ duration = 9125
3510
+ }
3511
+ }
3512
+ }
3513
+ }
3514
+ }
3515
+
3516
+ country_event = {
3517
+ id = MEE_Byzantine_Events.54
3518
+ title = MEE_Byzantine_Events.54.t
3519
+ desc = MEE_Byzantine_Events.54.d
3520
+ picture = DIPLOMACY_eventPicture
3521
+
3522
+ is_triggered_only = yes
3523
+
3524
+ option = {
3525
+ name = MEE_Byzantine_Events.54.a
3526
+
3527
+ ai_chance = {
3528
+ factor = 100
3529
+ }
3530
+
3531
+ join_all_defensive_wars_of = FROM
3532
+ every_known_country = {
3533
+ limit = {
3534
+ religion = catholic
3535
+ NOT = { is_subject = yes }
3536
+ NOT = { alliance_with = TUR }
3537
+ OR = {
3538
+ is_rival = TUR
3539
+ is_enemy = TUR
3540
+ BYZ_historical_interest_against_ottomans = yes
3541
+ }
3542
+ }
3543
+ country_event = { id = MEE_Byzantine_Events.55 days = 15 random = 15 }
3544
+ }
3545
+ }
3546
+
3547
+ option = {
3548
+ name = MEE_Byzantine_Events.54.b
3549
+
3550
+ ai_chance = {
3551
+ factor = 0
3552
+ }
3553
+
3554
+ add_country_modifier = {
3555
+ name = BYZ_betrayed_the_catholics_in_byzantium
3556
+ duration = -1
3557
+ }
3558
+ }
3559
+ }
3560
+
3561
+ country_event = {
3562
+ id = MEE_Byzantine_Events.55
3563
+ title = MEE_Byzantine_Events.55.t
3564
+ desc = MEE_Byzantine_Events.55.d
3565
+ picture = DIPLOMACY_eventPicture
3566
+
3567
+ is_triggered_only = yes
3568
+
3569
+ major = yes
3570
+ major_trigger = {
3571
+ OR = {
3572
+ AND = {
3573
+ religion = catholic
3574
+ NOT = { is_subject = yes }
3575
+ NOT = { alliance_with = TUR }
3576
+ OR = {
3577
+ is_rival = TUR
3578
+ is_enemy = TUR
3579
+ BYZ_historical_interest_against_ottomans = yes
3580
+ }
3581
+ }
3582
+ war_with = event_target:byz_latin_empire
3583
+ tag = PAP
3584
+ tag = event_target:byz_latin_empire
3585
+ }
3586
+ }
3587
+
3588
+ option = {
3589
+ name = MEE_Byzantine_Events.55.a
3590
+
3591
+ ai_chance = {
3592
+ factor = 20
3593
+ modifier = {
3594
+ factor = 0
3595
+ ai_attitude = {
3596
+ who = event_target:byz_latin_empire
3597
+ attitude = attitude_rivalry
3598
+ }
3599
+ }
3600
+ modifier = {
3601
+ factor = 0
3602
+ ai_attitude = {
3603
+ who = event_target:byz_latin_empire
3604
+ attitude = attitude_hostile
3605
+ }
3606
+ }
3607
+ modifier = {
3608
+ factor = 0
3609
+ ai_attitude = {
3610
+ who = event_target:byz_latin_empire
3611
+ attitude = attitude_outraged
3612
+ }
3613
+ }
3614
+ }
3615
+
3616
+ join_all_defensive_wars_of = event_target:byz_latin_empire
3617
+ }
3618
+
3619
+ option = {
3620
+ name = MEE_Byzantine_Events.55.b
3621
+
3622
+ ai_chance = {
3623
+ factor = 10
3624
+ }
3625
+
3626
+
3627
+ }
3628
+ }
3629
+
3630
+ country_event = {
3631
+ id = MEE_Byzantine_Events.56
3632
+ title = MEE_Byzantine_Events.56.t # What is a Pronoia Subject
3633
+ desc = MEE_Byzantine_Events.56.d
3634
+ picture = COURT_eventPicture
3635
+
3636
+ is_triggered_only = yes
3637
+
3638
+ trigger = {
3639
+ NOT = { has_country_flag = has_had_BYZ_56 }
3640
+ }
3641
+ immediate = {
3642
+ set_country_flag = has_had_BYZ_56
3643
+ }
3644
+ major = yes
3645
+
3646
+ option = {
3647
+ name = MEE_Byzantine_Events.56.a
3648
+
3649
+ ai_chance = {
3650
+ factor = 10
3651
+ }
3652
+
3653
+ custom_tooltip = BYZ_pronoia_subject_explanation
3654
+ }
3655
+ }
3656
+
3657
+ country_event = {
3658
+ id = MEE_Byzantine_Events.57
3659
+ title = MEE_Byzantine_Events.57.t # Western Support
3660
+ desc = MEE_Byzantine_Events.57.d
3661
+ picture = MILITARY_CAMP_eventPicture
3662
+
3663
+ trigger = {
3664
+ has_estate_privilege = estate_church_union_of_the_churches
3665
+ war_with = TUR
3666
+ NOT = { is_year = 1460 }
3667
+ }
3668
+
3669
+ mean_time_to_happen = {
3670
+ months = 30
3671
+ }
3672
+
3673
+ immediate = {
3674
+ hidden_effect = {
3675
+ random_list = {
3676
+ 1 = {
3677
+ set_country_flag = BYZ_get_monetary_support
3678
+ }
3679
+ 1 = {
3680
+ set_country_flag = BYZ_get_manpower_support
3681
+ }
3682
+ 1 = { }
3683
+ }
3684
+ }
3685
+ }
3686
+
3687
+ option = {
3688
+ name = MEE_Byzantine_Events.57.a
3689
+
3690
+ ai_chance = {
3691
+ factor = 10
3692
+ }
3693
+
3694
+ highlight = yes
3695
+ trigger = {
3696
+ has_estate_privilege = estate_church_union_of_the_churches
3697
+ }
3698
+
3699
+ if = {
3700
+ limit = {
3701
+ has_country_flag = BYZ_get_monetary_support
3702
+ }
3703
+ add_years_of_income = 0.5
3704
+ }
3705
+ else_if = {
3706
+ limit = {
3707
+ has_country_flag = BYZ_get_manpower_support
3708
+ }
3709
+ add_yearly_manpower = 0.5
3710
+ }
3711
+ else = {
3712
+ add_mil_power = 25
3713
+ }
3714
+ }
3715
+ }
3716
+
3717
+ country_event = {
3718
+ id = MEE_Byzantine_Events.58
3719
+ title = none
3720
+ desc = none
3721
+ picture = none
3722
+
3723
+ hidden = yes
3724
+ is_triggered_only = yes
3725
+
3726
+ immediate = {
3727
+ hidden_effect = {
3728
+ random_ally = {
3729
+ save_event_target_as = byzantium_temp_target
3730
+ }
3731
+ every_ally = {
3732
+ limit = {
3733
+ total_development = event_target:byzantium_temp_target
3734
+ }
3735
+ save_event_target_as = byzantium_temp_target
3736
+ }
3737
+ define_advisor = {
3738
+ type = army_organiser
3739
+ cost_multiplier = 0.4
3740
+ skill = 2
3741
+ culture = event_target:byzantium_temp_target
3742
+ religion = event_target:byzantium_temp_target
3743
+ }
3744
+ }
3745
+ }
3746
+
3747
+ option = {
3748
+ ai_chance = {
3749
+ factor = 10
3750
+ }
3751
+
3752
+ }
95
3753
  }
events/flavorDAN.txt CHANGED
@@ -3197,6 +3197,7 @@ country_event = {
3197
3197
  set_capital = 236
3198
3198
  add_accepted_culture_or_dip_power = {
3199
3199
  culture = english
3200
+ dip_reward = yes
3200
3201
  }
3201
3202
  236 = {
3202
3203
  add_base_tax = 3
@@ -3570,14 +3571,14 @@ country_event = {
3570
3571
  modifier = {
3571
3572
  factor = 0
3572
3573
  ruler_total_stats = {
3573
- stats = 14
3574
+ amount = 14
3574
3575
  }
3575
3576
  }
3576
3577
  #Has an okay ruler which doesn't get rejected
3577
3578
  modifier = {
3578
3579
  factor = 0.5
3579
3580
  ruler_total_stats = {
3580
- stats = 11
3581
+ amount = 11
3581
3582
  }
3582
3583
  }
3583
3584
  }
@@ -3625,14 +3626,14 @@ country_event = {
3625
3626
  modifier = {
3626
3627
  factor = 0
3627
3628
  ruler_total_stats = {
3628
- stats = 14
3629
+ amount = 14
3629
3630
  }
3630
3631
  }
3631
3632
  #Has an okay ruler which doesn't get rejected
3632
3633
  modifier = {
3633
3634
  factor = 0.5
3634
3635
  ruler_total_stats = {
3635
- stats = 11
3636
+ amount = 11
3636
3637
  }
3637
3638
  }
3638
3639
  modifier = {
@@ -3813,14 +3814,14 @@ country_event = {
3813
3814
  modifier = {
3814
3815
  factor = 0
3815
3816
  ruler_total_stats = {
3816
- stats = 14
3817
+ amount = 14
3817
3818
  }
3818
3819
  }
3819
3820
  #Has an okay ruler which doesn't get rejected
3820
3821
  modifier = {
3821
3822
  factor = 0.5
3822
3823
  ruler_total_stats = {
3823
- stats = 11
3824
+ amount = 11
3824
3825
  }
3825
3826
  }
3826
3827
  modifier = {
@@ -4034,14 +4035,14 @@ country_event = {
4034
4035
  modifier = {
4035
4036
  factor = 0
4036
4037
  ruler_total_stats = {
4037
- stats = 14
4038
+ amount = 14
4038
4039
  }
4039
4040
  }
4040
4041
  #Has an okay ruler which doesn't get rejected
4041
4042
  modifier = {
4042
4043
  factor = 0.5
4043
4044
  ruler_total_stats = {
4044
- stats = 11
4045
+ amount = 11
4045
4046
  }
4046
4047
  }
4047
4048
  modifier = {
@@ -4508,14 +4509,14 @@ country_event = {
4508
4509
  modifier = {
4509
4510
  factor = 0
4510
4511
  ruler_total_stats = {
4511
- stats = 14
4512
+ amount = 14
4512
4513
  }
4513
4514
  }
4514
4515
  #Has an okay ruler which doesn't get rejected
4515
4516
  modifier = {
4516
4517
  factor = 0.5
4517
4518
  ruler_total_stats = {
4518
- stats = 11
4519
+ amount = 11
4519
4520
  }
4520
4521
  }
4521
4522
  }
@@ -4708,14 +4709,14 @@ country_event = {
4708
4709
  modifier = {
4709
4710
  factor = 0
4710
4711
  ruler_total_stats = {
4711
- stats = 14
4712
+ amount = 14
4712
4713
  }
4713
4714
  }
4714
4715
  #Has an okay ruler which doesn't get rejected
4715
4716
  modifier = {
4716
4717
  factor = 0.5
4717
4718
  ruler_total_stats = {
4718
- stats = 11
4719
+ amount = 11
4719
4720
  }
4720
4721
  }
4721
4722
  }
@@ -4764,14 +4765,14 @@ country_event = {
4764
4765
  modifier = {
4765
4766
  factor = 0
4766
4767
  ruler_total_stats = {
4767
- stats = 14
4768
+ amount = 14
4768
4769
  }
4769
4770
  }
4770
4771
  #Has an okay ruler which doesn't get rejected
4771
4772
  modifier = {
4772
4773
  factor = 0.5
4773
4774
  ruler_total_stats = {
4774
- stats = 11
4775
+ amount = 11
4775
4776
  }
4776
4777
  }
4777
4778
  }
@@ -4930,14 +4931,14 @@ country_event = {
4930
4931
  modifier = {
4931
4932
  factor = 0
4932
4933
  ruler_total_stats = {
4933
- stats = 14
4934
+ amount = 14
4934
4935
  }
4935
4936
  }
4936
4937
  #Has an okay ruler which doesn't get rejected
4937
4938
  modifier = {
4938
4939
  factor = 0.5
4939
4940
  ruler_total_stats = {
4940
- stats = 11
4941
+ amount = 11
4941
4942
  }
4942
4943
  }
4943
4944
  modifier = {
events/flavorETH.txt CHANGED
@@ -252,7 +252,6 @@ country_event = {
252
252
  ai_chance = { factor = 10 }
253
253
  add_stability_or_adm_power = yes
254
254
  }
255
-
256
255
  }
257
256
 
258
257
  # The itinerant capital
@@ -579,7 +578,7 @@ country_event = {
579
578
  add_casus_belli = {
580
579
  target = MAM
581
580
  type = cb_insult
582
- months = 1825
581
+ months = 120
583
582
  }
584
583
  MAM = {
585
584
  country_event = { id = flavor_eth.13 days = 1 }
@@ -1967,7 +1966,7 @@ country_event = {
1967
1966
  clr_country_flag = eth_portuguese_help
1968
1967
  }
1969
1968
  define_general = {
1970
- name = "Crist�v�o da Gama"
1969
+ name = "Crist�v�o da Gama"
1971
1970
  shock = 4
1972
1971
  fire = 4
1973
1972
  manuever = 3
events/flavorFIN.txt CHANGED
@@ -31,7 +31,7 @@ country_event = {
31
31
  name = flavor_fin.1.b
32
32
 
33
33
  override_country_name = FB1
34
- set_country_flag = is_FBE_flag
34
+ set_country_flag = is_FB1_flag
35
35
  set_country_flag = has_overriden_name_flag
36
36
  ai_chance = {
37
37
  factor = 0
@@ -43,7 +43,7 @@ country_event = {
43
43
  name = flavor_fin.1.c
44
44
 
45
45
  override_country_name = FB2
46
- set_country_flag = is_FBE_flag
46
+ set_country_flag = is_FB2_flag
47
47
  set_country_flag = has_overriden_name_flag
48
48
  ai_chance = {
49
49
  factor = 0
@@ -55,7 +55,7 @@ country_event = {
55
55
  name = flavor_fin.1.d
56
56
 
57
57
  override_country_name = FB3
58
- set_country_flag = is_FBE_flag
58
+ set_country_flag = is_FB3_flag
59
59
  set_country_flag = has_overriden_name_flag
60
60
  ai_chance = {
61
61
  factor = 0
events/flavorJAJ.txt CHANGED
@@ -14,7 +14,7 @@ country_event = {
14
14
  desc = "flavor_jaj.1.d"
15
15
  picture = FORT_eventPicture
16
16
  fire_only_once = yes
17
-
17
+ goto = jaj_province
18
18
  trigger = {
19
19
  is_year = 1500
20
20
  NOT = { exists = JAJ }
@@ -48,6 +48,7 @@ country_event = {
48
48
  }
49
49
  has_port = yes
50
50
  }
51
+ save_event_target_as = jaj_province
51
52
  if = {
52
53
  limit = {
53
54
  province_id = 2089
events/flavorJAP.txt CHANGED
@@ -3890,12 +3890,13 @@ country_event = { #Kanda Matsuri Festivals in [Root.Capital.GetName]
3890
3890
  months = 120
3891
3891
  }
3892
3892
 
3893
+ goto = capital
3893
3894
  immediate = {
3894
- capital_scope = {
3895
- save_event_target_as = capital_scope_event_target
3895
+ hidden_effect = {
3896
+ capital_scope = { save_event_target_as = capital }
3896
3897
  }
3897
3898
  }
3898
-
3899
+
3899
3900
  option = {
3900
3901
  name = flavor_jap.72.a
3901
3902
 
@@ -3960,7 +3961,7 @@ country_event = { #Onna Musha and the Edo Period
3960
3961
  add_devotion = 10
3961
3962
  add_republican_tradition = 5
3962
3963
  change_ruler_stat = {
3963
- stat = dip
3964
+ type = dip
3964
3965
  amount = 1
3965
3966
  }
3966
3967
  }
events/flavorKHM.txt CHANGED
@@ -32,6 +32,7 @@ country_event = {
32
32
  is_triggered_only = yes
33
33
 
34
34
  immediate = {
35
+ on_non_estate_disaster_end = yes
35
36
  hidden_effect = {
36
37
  set_country_flag = had_dark_age
37
38
  }
events/flavorLIV.txt CHANGED
@@ -145,7 +145,7 @@ country_event = {
145
145
  factor = 100
146
146
  }
147
147
  }
148
- option = { #Dissolve Ösel's Bishopric
148
+ option = { #Dissolve �sel's Bishopric
149
149
  name = flavor_liv.2.b
150
150
  goto = 35
151
151
  trigger = {
@@ -268,7 +268,7 @@ country_event = {
268
268
  factor = 100
269
269
  }
270
270
  }
271
- option = { #Dissolve Ösel's Bishopric
271
+ option = { #Dissolve �sel's Bishopric
272
272
  name = flavor_liv.3.b
273
273
  goto = 35
274
274
  trigger = {
@@ -532,7 +532,7 @@ country_event = {
532
532
  }
533
533
  }
534
534
 
535
- # The Livonian Order gains an additional center of trade or trade post in Lübeck
535
+ # The Livonian Order gains an additional center of trade or trade post in L�beck
536
536
  country_event = {
537
537
  id = flavor_liv.8
538
538
  title = flavor_liv.8.t
@@ -1307,7 +1307,7 @@ country_event = {
1307
1307
  }
1308
1308
  show_points_needed_for_livionian_government_of_category = { adm = yes }
1309
1309
  change_ruler_stat = {
1310
- stat = adm
1310
+ type = adm
1311
1311
  amount = 1
1312
1312
  }
1313
1313
  add_ruler_modifier = {
@@ -1324,7 +1324,7 @@ country_event = {
1324
1324
  }
1325
1325
  show_points_needed_for_livionian_government_of_category = { dip = yes }
1326
1326
  change_ruler_stat = {
1327
- stat = dip
1327
+ type = dip
1328
1328
  amount = 1
1329
1329
  }
1330
1330
  add_ruler_modifier = {
@@ -1341,7 +1341,7 @@ country_event = {
1341
1341
  }
1342
1342
  show_points_needed_for_livionian_government_of_category = { mil = yes }
1343
1343
  change_ruler_stat = {
1344
- stat = mil
1344
+ type = mil
1345
1345
  amount = 1
1346
1346
  }
1347
1347
  convert_ruler_to_general = 100
events/flavorMAJ.txt CHANGED
@@ -180,6 +180,7 @@ country_event = {
180
180
  major = yes
181
181
 
182
182
  immediate = {
183
+ on_non_estate_disaster_end = yes
183
184
  hidden_effect = {
184
185
  set_country_flag = had_fall_of_majapahit
185
186
  }
events/flavorMAL.txt CHANGED
@@ -707,6 +707,7 @@ country_event = {
707
707
  major = yes
708
708
 
709
709
  immediate = {
710
+ on_non_estate_disaster_end = yes
710
711
  hidden_effect = {
711
712
  set_country_flag = had_decline_of_mali
712
713
  clr_country_flag = started_decline_of_mali
@@ -1805,7 +1806,7 @@ country_event = {
1805
1806
  }
1806
1807
  }
1807
1808
 
1808
- #The Great Mosque of Djenné
1809
+ #The Great Mosque of Djenn�
1809
1810
  country_event = {
1810
1811
  id = flavor_mal.29
1811
1812
  title = flavor_mal.29.t
events/flavorMAM.txt CHANGED
@@ -57,15 +57,24 @@ country_event = {
57
57
  fire_only_once = yes
58
58
 
59
59
  trigger = {
60
- tag = MAM
61
- is_year = 1457
62
- owns = 361 #we have to own cairo
63
- NOT = { is_year = 1459 }
64
- has_regency = no
65
- is_female = no
60
+ OR = {
61
+ AND = {
62
+ tag = MAM
63
+ is_year = 1457
64
+ owns = 361 #we have to own cairo
65
+ NOT = { is_year = 1459 }
66
+ has_regency = no
67
+ is_female = no
68
+ }
69
+ mission_completed = mam_city_thousand_minarets
70
+ }
66
71
  }
67
72
  mean_time_to_happen = {
68
73
  months = 12
74
+ modifier = {
75
+ factor = 0.01
76
+ mission_completed = mam_city_thousand_minarets
77
+ }
69
78
  }
70
79
  option = {
71
80
  name = flavor_mam.2.a
@@ -859,4 +868,850 @@ country_event = {
859
868
  add_base_manpower = 2
860
869
  }
861
870
  }
862
- }
871
+ }
872
+
873
+ #1.36
874
+
875
+ #
876
+ country_event = {
877
+ id = flavor_mam.100
878
+ title = flavor_mam.100.t
879
+ desc = flavor_mam.100.d
880
+ picture = SHIP_SAILING_eventPicture
881
+
882
+ is_triggered_only = yes
883
+
884
+ option = {
885
+ name = flavor_mam.100.a
886
+
887
+ trigger = {
888
+ OR = {
889
+ has_dlc = "Golden Century"
890
+ has_dlc = "Rule Britannia"
891
+ }
892
+ }
893
+
894
+ custom_tooltip = mam_unlock_galley_doctrine_tt
895
+
896
+ clr_country_flag = mam_unlock_galley_doctrine_flag
897
+ clr_country_flag = mam_unlock_light_doctrine_flag
898
+ clr_country_flag = mam_unlock_warships_doctrine_flag
899
+ clr_country_flag = mam_unlock_transports_doctrine_flag
900
+
901
+ set_country_flag = mam_unlock_galley_doctrine_flag
902
+ }
903
+
904
+ option = {
905
+ name = flavor_mam.100.b
906
+
907
+ trigger = {
908
+ OR = {
909
+ has_dlc = "Golden Century"
910
+ has_dlc = "Rule Britannia"
911
+ }
912
+ }
913
+
914
+ custom_tooltip = mam_unlock_light_doctrine_tt
915
+
916
+ clr_country_flag = mam_unlock_galley_doctrine_flag
917
+ clr_country_flag = mam_unlock_light_doctrine_flag
918
+ clr_country_flag = mam_unlock_warships_doctrine_flag
919
+ clr_country_flag = mam_unlock_transports_doctrine_flag
920
+
921
+ set_country_flag = mam_unlock_light_doctrine_flag
922
+ }
923
+
924
+ option = {
925
+ name = flavor_mam.100.c
926
+
927
+ trigger = {
928
+ OR = {
929
+ has_dlc = "Golden Century"
930
+ has_dlc = "Rule Britannia"
931
+ }
932
+ }
933
+
934
+ custom_tooltip = mam_unlock_warships_doctrine_tt
935
+
936
+ clr_country_flag = mam_unlock_galley_doctrine_flag
937
+ clr_country_flag = mam_unlock_light_doctrine_flag
938
+ clr_country_flag = mam_unlock_warships_doctrine_flag
939
+ clr_country_flag = mam_unlock_transports_doctrine_flag
940
+
941
+ set_country_flag = mam_unlock_warships_doctrine_flag
942
+ }
943
+
944
+ option = {
945
+ name = flavor_mam.100.e
946
+
947
+ trigger = { has_dlc = "Golden Century" }
948
+
949
+ custom_tooltip = mam_unlock_transports_doctrine_tt
950
+
951
+ clr_country_flag = mam_unlock_galley_doctrine_flag
952
+ clr_country_flag = mam_unlock_light_doctrine_flag
953
+ clr_country_flag = mam_unlock_warships_doctrine_flag
954
+ clr_country_flag = mam_unlock_transports_doctrine_flag
955
+
956
+ set_country_flag = mam_unlock_transports_doctrine_flag
957
+ }
958
+
959
+ option = {
960
+ name = flavor_mam.100.f
961
+
962
+ trigger = {
963
+ NOT = { has_dlc = "Golden Century" }
964
+ }
965
+
966
+ create_admiral = { tradition = 80 }
967
+ add_navy_tradition = 10
968
+
969
+ }
970
+ }
971
+
972
+ #Renovating the Zahiriyya Library
973
+ country_event = {
974
+ id = flavor_mam.101
975
+ title = flavor_mam.101.t
976
+ desc = flavor_mam.101.d
977
+ picture = GREAT_BUILDING_eventPicture
978
+
979
+ is_triggered_only = yes
980
+
981
+ option = {
982
+ name = flavor_mam.101.a
983
+
984
+ if = {
985
+ limit = {
986
+ has_dlc = "Rule Britannia"
987
+ }
988
+ change_innovativeness = 3
989
+ }
990
+ else = {
991
+ add_adm_power = 100
992
+ add_dip_power = 100
993
+ add_mil_power = 100
994
+ }
995
+ }
996
+
997
+ option = {
998
+ name = flavor_mam.101.b
999
+
1000
+ add_years_of_income = -2
1001
+ unlock_government_reform = {
1002
+ government_reform = state_madrasas_reform
1003
+ }
1004
+ }
1005
+ }
1006
+
1007
+ #The Grain Trade in Egypt
1008
+ country_event = {
1009
+ id = flavor_mam.102
1010
+ title = flavor_mam.102.t
1011
+ desc = flavor_mam.102.d
1012
+ picture = muslimgfx_DIPLOMACY_eventPicture
1013
+
1014
+ is_triggered_only = yes
1015
+
1016
+ option = {
1017
+ name = flavor_mam.102.a
1018
+
1019
+ custom_tooltip = mam_expand_nile_estuaries_tt
1020
+ hidden_effect = {
1021
+ every_owned_province = {
1022
+ limit = {
1023
+ has_province_modifier = nile_estuary_modifier
1024
+ }
1025
+ remove_province_modifier = nile_estuary_modifier
1026
+ add_province_modifier = { #TODO add in scripted trigger
1027
+ name = expanded_nile_estuary_modifier
1028
+ duration = -1
1029
+ }
1030
+ add_base_production = 1
1031
+ }
1032
+ }
1033
+ }
1034
+
1035
+ option = {
1036
+ name = flavor_mam.102.b
1037
+
1038
+ add_mercantilism = 2
1039
+ custom_tooltip = mam_expand_grain_production_tt
1040
+ custom_tooltip = mam_more_exports_2_tt
1041
+ hidden_effect = {
1042
+ every_owned_province = {
1043
+ limit = {
1044
+ has_province_modifier = granary_of_the_mediterranean
1045
+ }
1046
+ remove_province_modifier = granary_of_the_mediterranean
1047
+ add_province_modifier = {
1048
+ name = expanded_granary_of_the_mediterranean_modifier
1049
+ duration = -1
1050
+ }
1051
+ }
1052
+ set_country_flag = increase_exports_to_6_flag
1053
+ }
1054
+ }
1055
+ }
1056
+
1057
+
1058
+ #The Administration of the Mamluk Empire
1059
+ country_event = {
1060
+ id = flavor_mam.103
1061
+ title = flavor_mam.103.t
1062
+ desc = flavor_mam.103.d
1063
+ picture = muslimgfx_LIBERUM_VETO_eventPicture
1064
+
1065
+ is_triggered_only = yes
1066
+
1067
+ option = {
1068
+ name = flavor_mam.103.a
1069
+
1070
+ if = {
1071
+ limit = {
1072
+ NOT = { government_rank = 3 }
1073
+ }
1074
+ set_government_rank = 3
1075
+ }
1076
+ else = {
1077
+ add_power_projection = {
1078
+ type = mam_new_caliphate_pp
1079
+ amount = 10
1080
+ }
1081
+ custom_tooltip = sca_scandinavian_european_empire_tt
1082
+ }
1083
+
1084
+ capital_scope = {
1085
+ set_province_flag = chose_mam_mission_flag
1086
+ }
1087
+
1088
+ custom_tooltip = mam_enable_kashifs_local_organizations_tt
1089
+ set_country_flag = mam_enable_kashifs_local_organizations_flag
1090
+ }
1091
+
1092
+ option = {
1093
+ name = flavor_mam.103.b
1094
+
1095
+ capital_scope = {
1096
+ set_province_flag = chose_egy_mission_flag
1097
+ }
1098
+ if = {
1099
+ limit = { stability = 0 }
1100
+ add_stability = -5
1101
+ }
1102
+ else = {
1103
+ add_adm_power = -200
1104
+ add_dip_power = -100
1105
+ }
1106
+ if = {
1107
+ limit = {
1108
+ EGY = { exists = no }
1109
+ }
1110
+ change_tag = EGY
1111
+ swap_free_idea_group = yes
1112
+ }
1113
+ else = { add_prestige_or_monarch_power = { amount = 25 } }
1114
+
1115
+ set_country_flag = egyptian_government_reform_flag
1116
+ add_government_reform = egyptian_government_reform
1117
+ }
1118
+ }
1119
+
1120
+ #The Waqf of [Root.Monarch.GetName]
1121
+ country_event = {
1122
+ id = flavor_mam.104
1123
+ title = flavor_mam.104.t
1124
+ desc = flavor_mam.104.d
1125
+ picture = muslimgfx_ECONOMY_eventPicture
1126
+
1127
+ is_triggered_only = yes
1128
+
1129
+ option = {
1130
+ name = flavor_mam.104.a
1131
+
1132
+ add_years_of_income = -2
1133
+ capital_scope = {
1134
+ if = {
1135
+ limit = { has_building = university }
1136
+ add_base_production = 2
1137
+ }
1138
+ else = { add_building = university }
1139
+ }
1140
+ custom_tooltip = mam_adm_advisors_generate_idea_cost_tt
1141
+ hidden_effect = {
1142
+ add_country_modifier = {
1143
+ name = mam_adm_advisors_generate_idea_cost_modifier
1144
+ duration = 7300
1145
+ hidden = yes
1146
+ }
1147
+ }
1148
+ }
1149
+
1150
+ option = {
1151
+ name = flavor_mam.104.b
1152
+
1153
+ add_years_of_income = -2
1154
+
1155
+ capital_scope = {
1156
+ if = {
1157
+ limit = { has_building = cathedral }
1158
+ add_base_tax = 3
1159
+ }
1160
+ else = {
1161
+ add_building = cathedral
1162
+ if = {
1163
+ limit = { has_building = temple }
1164
+ hidden_effect = {
1165
+ remove_building = temple
1166
+ }
1167
+ }
1168
+ }
1169
+ }
1170
+
1171
+ custom_tooltip = mam_mosque_great_mosque_generates_crown_land_tt
1172
+ hidden_effect = {
1173
+ add_country_modifier = {
1174
+ name = mam_mosque_great_mosque_generates_crown_land_modifier
1175
+ duration = 7300
1176
+ hidden = yes
1177
+ }
1178
+ }
1179
+ custom_tooltip = add_5_crown_land_share
1180
+ hidden_effect = {
1181
+ change_estate_land_share = {
1182
+ estate = all
1183
+ share = -5
1184
+ }
1185
+ }
1186
+ }
1187
+
1188
+ option = {
1189
+ name = flavor_mam.104.c
1190
+
1191
+ trigger = {
1192
+ has_dlc = "Leviathan"
1193
+ 361 = {
1194
+ owned_by = ROOT
1195
+ NOT = {
1196
+ has_great_project = {
1197
+ type = al_azhar_university
1198
+ tier = 3
1199
+ }
1200
+ }
1201
+ }
1202
+ }
1203
+ add_years_of_income = -2
1204
+ 361 = {
1205
+ add_great_project_tier = {
1206
+ type = al_azhar_university
1207
+ tier = 1
1208
+ }
1209
+ }
1210
+ change_innovativeness = 3
1211
+ }
1212
+
1213
+ option = {
1214
+ name = flavor_mam.104.e
1215
+
1216
+ add_prestige_or_monarch_power = { amount = 10 }
1217
+ }
1218
+ }
1219
+
1220
+ #Coffea Arabica
1221
+ country_event = {
1222
+ id = flavor_mam.105
1223
+ title = flavor_mam.105.t
1224
+ desc = flavor_mam.105.d
1225
+ picture = muslimgfx_MERCHANTS_TALKING_eventPicture
1226
+
1227
+ is_triggered_only = yes
1228
+
1229
+ option = {
1230
+ name = flavor_mam.105.a
1231
+
1232
+ custom_tooltip = mam_enable_coffee_monopoly_tt
1233
+ set_country_flag = mam_enable_coffee_monopoly_flag
1234
+
1235
+ add_estate_loyalty = {
1236
+ estate = estate_burghers
1237
+ loyalty = 20
1238
+ }
1239
+ }
1240
+
1241
+ option = {
1242
+ name = flavor_mam.105.b
1243
+
1244
+ add_mercantilism = 5
1245
+
1246
+ custom_tooltip = mam_1_prod_in_coffee_tt
1247
+ hidden_effect = {
1248
+ every_owned_province = {
1249
+ limit = { trade_goods = coffee }
1250
+ add_base_production = 1
1251
+ }
1252
+ }
1253
+ }
1254
+ }
1255
+
1256
+ country_event = { #The Beacons of Gonder
1257
+ id = flavor_mam.106
1258
+ title = flavor_mam.106.t
1259
+ desc = flavor_mam.106.d
1260
+ picture = muslimgfx_PILGRIMAGE_eventPicture
1261
+
1262
+ is_triggered_only = yes
1263
+
1264
+ option = {
1265
+ name = flavor_mam.106.a
1266
+
1267
+ custom_tooltip = mam_eth_flavor_tt
1268
+ set_country_flag = mam_eth_flavor_flag
1269
+
1270
+ if = {
1271
+ limit = {
1272
+ ETH = {
1273
+ has_opinion = {
1274
+ who = ROOT
1275
+ value = 100
1276
+ }
1277
+ OR = {
1278
+ is_subject_of = ROOT
1279
+ alliance_with = ROOT
1280
+ }
1281
+ }
1282
+ }
1283
+ add_historical_friend = ETH
1284
+ ETH = { add_historical_friend = ROOT }
1285
+ add_trust = {
1286
+ who = ETH
1287
+ value = 25
1288
+ mutual = yes
1289
+ }
1290
+ }
1291
+ else = {
1292
+ add_dip_power = 100
1293
+ if = {
1294
+ limit = {
1295
+ has_dlc = "Cradle of Civilization"
1296
+ religion_group = muslim
1297
+ }
1298
+ if = {
1299
+ limit = { piety = 0 }
1300
+ add_piety = 0.25
1301
+ }
1302
+ else = { add_piety = -0.25 }
1303
+ }
1304
+ else = {
1305
+ add_prestige_or_monarch_power = { amount = 10 }
1306
+ }
1307
+ }
1308
+ }
1309
+
1310
+ option = {
1311
+ name = flavor_mam.106.b
1312
+
1313
+ if = {
1314
+ limit = { has_dlc = "Origins" }
1315
+ set_country_flag = allow_cawa_auxiliary_forces_flag
1316
+ custom_tooltip = enable_cawa_auxiliary_forces_tt
1317
+ tooltip = {
1318
+ add_government_reform = cawa_auxiliary_forces
1319
+ }
1320
+ }
1321
+ else_if = {
1322
+ limit = { has_dlc = "Cradle of Civilization" }
1323
+ add_army_professionalism = 0.1
1324
+ }
1325
+ else = {
1326
+ add_army_tradition = 20
1327
+ }
1328
+ }
1329
+ }
1330
+
1331
+ country_event = { #A Competent Ethiopian Noble
1332
+ id = flavor_mam.107
1333
+ title = flavor_mam.107.t
1334
+ desc = flavor_mam.107.d
1335
+ picture = muslimgfx_THEATRE_eventPicture
1336
+
1337
+ fire_only_once = yes
1338
+
1339
+ trigger = {
1340
+ has_country_flag = mam_eth_flavor_flag
1341
+ }
1342
+ mean_time_to_happen = {
1343
+ months = 240
1344
+ }
1345
+
1346
+ option = {
1347
+ name = flavor_mam.107.a
1348
+
1349
+ define_advisor = {
1350
+ type = treasurer
1351
+ skill = 3
1352
+ culture = amhara
1353
+ religion = coptic
1354
+ cost_multiplier = 0.25
1355
+ }
1356
+
1357
+ change_government_reform_progress = 50
1358
+ }
1359
+ }
1360
+
1361
+ country_event = { #The Many Capitals of the Ethiopians
1362
+ id = flavor_mam.108
1363
+ title = flavor_mam.108.t
1364
+ desc = flavor_mam.108.d
1365
+ picture = muslimgfx_RELIGIOUS_CONVERSION_eventPicture
1366
+
1367
+ fire_only_once = yes
1368
+
1369
+ trigger = {
1370
+ has_country_flag = mam_eth_flavor_flag
1371
+ any_owned_province = {
1372
+ culture = amhara
1373
+ }
1374
+ }
1375
+ mean_time_to_happen = {
1376
+ months = 240
1377
+ }
1378
+
1379
+ option = {
1380
+ name = flavor_mam.108.a
1381
+
1382
+ random_owned_province = {
1383
+ limit = { culture = amhara }
1384
+ add_base_tax = 1
1385
+ add_base_production = 1
1386
+ add_base_manpower = 1
1387
+ add_prosperity = 10
1388
+ }
1389
+
1390
+ add_stability_or_adm_power = yes
1391
+ }
1392
+
1393
+ option = {
1394
+ name = flavor_mam.108.b
1395
+
1396
+ add_estate_loyalty = {
1397
+ estate = estate_nobles
1398
+ loyalty = 20
1399
+ }
1400
+ add_prestige_or_monarch_power = { amount = 15 }
1401
+ }
1402
+ }
1403
+
1404
+ country_event = { #Coptic Monasteries Flourish
1405
+ id = flavor_mam.109
1406
+ title = flavor_mam.109.t
1407
+ desc = flavor_mam.109.d
1408
+ picture = ORTHODOX_eventPicture
1409
+
1410
+ fire_only_once = yes
1411
+
1412
+ trigger = {
1413
+ has_country_flag = mam_eth_flavor_flag
1414
+ any_province = {
1415
+ country_or_non_sovereign_subject_holds = ROOT
1416
+ religion = coptic
1417
+ }
1418
+ }
1419
+ mean_time_to_happen = {
1420
+ months = 240
1421
+ }
1422
+
1423
+ option = {
1424
+ name = flavor_mam.109.a
1425
+
1426
+ random_province = {
1427
+ limit = {
1428
+ religion = coptic
1429
+ country_or_non_sovereign_subject_holds = ROOT
1430
+ }
1431
+ add_random_development = 1
1432
+ }
1433
+ random_province = {
1434
+ limit = {
1435
+ religion = coptic
1436
+ country_or_non_sovereign_subject_holds = ROOT
1437
+ }
1438
+ add_random_development = 1
1439
+ }
1440
+ random_province = {
1441
+ limit = {
1442
+ religion = coptic
1443
+ country_or_non_sovereign_subject_holds = ROOT
1444
+ }
1445
+ add_random_development = 1
1446
+ }
1447
+ random_province = {
1448
+ limit = {
1449
+ religion = coptic
1450
+ country_or_non_sovereign_subject_holds = ROOT
1451
+ }
1452
+ add_random_development = 1
1453
+ }
1454
+
1455
+ add_stability_or_adm_power = yes
1456
+
1457
+ }
1458
+ }
1459
+
1460
+ country_event = { #Ethiopian Recruits in the Army
1461
+ id = flavor_mam.110
1462
+ title = flavor_mam.110.t
1463
+ desc = flavor_mam.110.d
1464
+ picture = muslimgfx_MILITARY_CAMP_eventPicture
1465
+
1466
+ fire_only_once = yes
1467
+
1468
+ trigger = {
1469
+ has_country_flag = mam_eth_flavor_flag
1470
+ any_owned_province = {
1471
+ country_or_non_sovereign_subject_holds = ROOT
1472
+ culture = amhara
1473
+ }
1474
+ }
1475
+ mean_time_to_happen = {
1476
+ months = 240
1477
+ }
1478
+
1479
+ option = {
1480
+ name = flavor_mam.110.a
1481
+
1482
+ add_yearly_manpower = 1
1483
+ add_mil_power = 100
1484
+ }
1485
+ }
1486
+
1487
+ country_event = { #Administrating the Northern Territories
1488
+ id = flavor_mam.111
1489
+ title = flavor_mam.111.t
1490
+ desc = flavor_mam.111.d
1491
+ picture = OVEREXTENSION_eventPicture
1492
+
1493
+ fire_only_once = yes
1494
+ trigger = {
1495
+ tag = MAM
1496
+ exists = SYR
1497
+ SYR = {
1498
+ is_subject_of = ROOT
1499
+ }
1500
+ }
1501
+ is_triggered_only = yes
1502
+ goto = 382
1503
+
1504
+ option = {
1505
+ name = flavor_mam.111.a
1506
+
1507
+ SYR = {
1508
+ every_owned_province = {
1509
+ add_core = MAM
1510
+ }
1511
+ add_liberty_desire = 25
1512
+ }
1513
+ add_truce_with = SYR
1514
+ set_country_flag = mam_had_administration_syria_event_flag
1515
+ set_country_flag = mam_intervened_syria
1516
+ hidden_effect = {
1517
+ SYR = {
1518
+ add_manpower = 5
1519
+ add_adm_power = 100
1520
+ add_dip_power = 100
1521
+ add_mil_power = 100
1522
+ add_treasury = 50
1523
+ }
1524
+ }
1525
+ }
1526
+
1527
+ option = {
1528
+ name = flavor_mam.111.b
1529
+
1530
+ add_legitimacy = -10
1531
+ add_prestige = -10
1532
+ set_country_flag = mam_had_administration_syria_event_flag
1533
+ }
1534
+ }
1535
+
1536
+ country_event = { #The Heart of an Empire
1537
+ id = flavor_mam.112
1538
+ title = flavor_mam.112.t
1539
+ desc = flavor_mam.112.d
1540
+ picture = CONSTANTINOPLE_eventPicture
1541
+
1542
+ fire_only_once = yes
1543
+ is_triggered_only = yes
1544
+
1545
+ option = {
1546
+ name = flavor_mam.112.b
1547
+
1548
+ trigger = {
1549
+ TUR = {
1550
+ NOT = { total_development = ROOT }
1551
+ }
1552
+ }
1553
+
1554
+ unlock_government_reform = {
1555
+ government_reform = integrated_ottoman_officials
1556
+ }
1557
+
1558
+ }
1559
+
1560
+ option = {
1561
+ name = flavor_mam.112.a
1562
+
1563
+ trigger = {
1564
+ 151 = { owned_by = ROOT is_core = ROOT }
1565
+ }
1566
+ set_capital = 151
1567
+
1568
+ add_power_projection = {
1569
+ type = mam_defeated_ottomans_pp
1570
+ amount = 15
1571
+ }
1572
+ custom_tooltip = sca_scandinavian_european_empire_tt
1573
+ }
1574
+
1575
+ option = {
1576
+ name = flavor_mam.112.c
1577
+
1578
+ add_power_projection = {
1579
+ type = mam_defeated_ottomans_pp
1580
+ amount = 15
1581
+ }
1582
+ custom_tooltip = sca_scandinavian_european_empire_tt
1583
+ }
1584
+ }
1585
+
1586
+ country_event = { #The Dar al-Makhzen
1587
+ id = flavor_mam.113
1588
+ title = flavor_mam.113.t
1589
+ desc = flavor_mam.113.d
1590
+ picture = muslimgfx_GREAT_BUILDING_eventPicture
1591
+
1592
+ fire_only_once = yes
1593
+ is_triggered_only = yes
1594
+ goto = 343
1595
+ option = {
1596
+ name = flavor_mam.113.a
1597
+
1598
+ add_years_of_income = -0.5
1599
+ 343 = {
1600
+ add_base_tax = 3
1601
+ add_base_production = 3
1602
+ add_base_manpower = 3
1603
+ change_culture = ROOT
1604
+ change_religion = ROOT
1605
+ if = {
1606
+ limit = { has_dlc = "Mandate of Heaven" }
1607
+ add_devastation = -25
1608
+ add_prosperity = 25
1609
+ }
1610
+ }
1611
+ }
1612
+
1613
+ option = {
1614
+ name = flavor_mam.113.b
1615
+
1616
+ 343 = {
1617
+ add_base_tax = 1
1618
+ add_base_production = 1
1619
+ add_base_manpower = 1
1620
+ change_religion = ROOT
1621
+ }
1622
+ }
1623
+ }
1624
+
1625
+ country_event = { #Architecture in Safavid Persia
1626
+ id = flavor_mam.114
1627
+ title = flavor_mam.114.t
1628
+ desc = flavor_mam.114.d
1629
+ picture = muslimgfx_CITY_VIEW_eventPicture
1630
+
1631
+ fire_only_once = yes
1632
+ is_triggered_only = yes
1633
+
1634
+ option = {
1635
+ name = flavor_mam.114.a
1636
+
1637
+ if = {
1638
+ limit = {
1639
+ has_dlc = "Mandate of Heaven"
1640
+ current_age = age_of_reformation
1641
+ NOT = { is_year = 1590 }
1642
+ }
1643
+ custom_tooltip = enable_persian_age_ability_tt
1644
+ set_country_flag = enable_persian_age_ability_flag
1645
+ }
1646
+ else = {
1647
+ add_country_modifier = {
1648
+ name = mam_adopted_persian_architecture_modifier
1649
+ duration = 9125
1650
+ }
1651
+ }
1652
+ }
1653
+ }
1654
+
1655
+ country_event = { #Construction Commences in [4316.GetName]
1656
+ id = flavor_mam.115
1657
+ title = flavor_mam.115.t
1658
+ desc = flavor_mam.115.d
1659
+ picture = BYZ_HARBOUR_eventPicture
1660
+
1661
+ fire_only_once = yes
1662
+ is_triggered_only = yes
1663
+
1664
+ option = {
1665
+ name = flavor_mam.115.a
1666
+
1667
+ hidden_effect = {
1668
+ add_treasury = 20000
1669
+ }
1670
+ 4316 = {
1671
+ add_great_project_tier = {
1672
+ type = suez_canal
1673
+ tier = 3
1674
+ }
1675
+ add_great_project = {
1676
+ type = suez_canal
1677
+ }
1678
+ }
1679
+ hidden_effect = {
1680
+ add_treasury = -20000
1681
+ }
1682
+ }
1683
+
1684
+ }
1685
+
1686
+ # Extension of Coffee Monopoly
1687
+ country_event = {
1688
+ id = flavor_mam.116
1689
+ title = flavor_mam.116.t
1690
+ desc = flavor_mam.116.d
1691
+ picture = TRADE_GOODS_PLANTATION_GOODS_IN_WAREHOUSE_eventPicture
1692
+
1693
+ is_triggered_only = yes
1694
+
1695
+ immediate = {
1696
+ remove_estate_monopoly_modifier = { privilege = estate_burghers_monopoly_of_coffee }
1697
+ }
1698
+
1699
+ option = {
1700
+ name = monopoly_privileges.1.a
1701
+ reapply_estate_privilege = { privilege = estate_burghers_monopoly_of_coffee }
1702
+ }
1703
+ option = {
1704
+ name = monopoly_privileges.1.b
1705
+ custom_tooltip = YEM_revoke_yemen_event_tooltip
1706
+
1707
+ hidden_effect = {
1708
+ every_owned_province = {
1709
+ limit = {
1710
+ trade_goods = coffee
1711
+ }
1712
+ apply_estate_monopoly_modifier = { privilege = estate_burghers_monopoly_of_coffee }
1713
+ }
1714
+ }
1715
+ }
1716
+ }
1717
+
events/flavorMLC.txt CHANGED
@@ -320,6 +320,7 @@ country_event = {
320
320
  dynasty = "Srivijaya"
321
321
  }
322
322
  override_country_name = SRIVIJAYA
323
+ set_country_flag = is_srijivaya_flag
323
324
  ai_chance = {
324
325
  factor = 1000
325
326
  }
@@ -330,6 +331,7 @@ country_event = {
330
331
  primary_culture = javanese
331
332
  }
332
333
  override_country_name = MAJAPAHIT_EMPIRE
334
+ set_country_flag = is_majapahit_empire_flag
333
335
  ai_chance = {
334
336
  factor = 100
335
337
  }
@@ -337,6 +339,7 @@ country_event = {
337
339
  option = {
338
340
  name = flavor_mlc.9.c
339
341
  override_country_name = NUSANTARA
342
+ set_country_flag = is_nusantara_flag
340
343
  ai_chance = {
341
344
  factor = 5
342
345
  }
events/flavorMNG.txt CHANGED
@@ -1785,6 +1785,8 @@ country_event = {
1785
1785
  picture = MERITOCRACY_eventPicture
1786
1786
  is_triggered_only = yes
1787
1787
 
1788
+ goto = 700
1789
+
1788
1790
  option = {
1789
1791
  name = flavor_mng.30.a
1790
1792
 
@@ -1948,7 +1950,7 @@ country_event = { #The Karma Kagyu School and the [Root.Monarch.Dynasty.GetName]
1948
1950
  duration = 7300
1949
1951
  }
1950
1952
  change_ruler_stat = {
1951
- stat = dip
1953
+ type = dip
1952
1954
  amount = 1
1953
1955
  }
1954
1956
  }
@@ -3366,7 +3368,7 @@ country_event = {
3366
3368
  }
3367
3369
  else = {
3368
3370
  change_ruler_stat = {
3369
- stat = dip
3371
+ type = dip
3370
3372
  amount = 1
3371
3373
  }
3372
3374
  }
events/flavorMSI.txt CHANGED
@@ -2,7 +2,7 @@
2
2
  # Events for Mossi
3
3
  #
4
4
  # scripted by Ogulcan Yildirim
5
- # Localization written by Álvaro Sanz
5
+ # Localization written by �lvaro Sanz
6
6
  ########################################
7
7
 
8
8
  namespace = flavor_msi
events/flavorPOL.txt CHANGED
@@ -1212,7 +1212,7 @@ country_event = {
1212
1212
  add_adm_power = 100
1213
1213
  define_advisor = {
1214
1214
  type = philosopher
1215
- name = "Michal Sedziwj"
1215
+ name = "Michal Sedziw�j"
1216
1216
  culture = polish
1217
1217
  discount = yes
1218
1218
  skill = 3
@@ -1836,6 +1836,7 @@ country_event = {
1836
1836
  custom_tooltip = pol_impact_future_missions_tt
1837
1837
  set_country_flag = pol_chose_pu_flag
1838
1838
  }
1839
+ custom_tooltip = pol_potential_cb_on_hungary_tt
1839
1840
  }
1840
1841
 
1841
1842
  option = {
@@ -1871,6 +1872,7 @@ country_event = {
1871
1872
  custom_tooltip = pol_impact_future_missions_tt
1872
1873
  set_country_flag = pol_denied_pu_flag
1873
1874
  }
1875
+ custom_tooltip = pol_potential_cb_on_bohemia_tt
1874
1876
  }
1875
1877
  }
1876
1878
 
@@ -2017,6 +2019,9 @@ country_event = {
2017
2019
  major = yes
2018
2020
  fire_only_once = yes
2019
2021
  is_triggered_only = yes
2022
+ immediate = {
2023
+ on_non_estate_disaster_end = yes
2024
+ }
2020
2025
 
2021
2026
  option = {
2022
2027
  trigger = {
@@ -2686,7 +2691,6 @@ country_event = { #The Crown of Rome
2686
2691
  LAE = {
2687
2692
  change_religion = catholic
2688
2693
  set_dynasty = ROOT
2689
- set_country_flag = is_LAE_flag
2690
2694
  hidden_effect = {
2691
2695
  every_owned_province = {
2692
2696
  limit = {
events/flavorRIG.txt CHANGED
@@ -2,7 +2,7 @@
2
2
  # DLC Events for Riga
3
3
  #
4
4
  # written by Ogulcan Yildirim
5
- # localised by Vasilis Samelis
5
+ # localised by Big Boss
6
6
  ########################################
7
7
 
8
8
  namespace = flavor_rig
@@ -221,7 +221,7 @@ country_event = {
221
221
  factor = 100
222
222
  }
223
223
  }
224
- option = { #Dissolve Ösel's Bishopric
224
+ option = { #Dissolve �sel's Bishopric
225
225
  name = flavor_liv.2.b
226
226
  goto = 35
227
227
  trigger = {
@@ -361,7 +361,7 @@ country_event = {
361
361
  factor = 100
362
362
  }
363
363
  }
364
- option = { #Dissolve Ösel's Bishopric
364
+ option = { #Dissolve �sel's Bishopric
365
365
  name = flavor_liv.3.b
366
366
  goto = 35
367
367
  trigger = {
@@ -590,7 +590,7 @@ country_event = {
590
590
  }
591
591
  }
592
592
 
593
- # Hansa breaks apart! - Lübeck
593
+ # Hansa breaks apart! - L�beck
594
594
  country_event = {
595
595
  id = flavor_rig.12
596
596
  title = flavor_rig.12.t
events/flavorTEU.txt CHANGED
@@ -472,6 +472,7 @@ country_event = {
472
472
  }
473
473
 
474
474
  immediate = {
475
+ on_non_estate_disaster_end = yes
475
476
  hidden_effect = {
476
477
  set_country_flag = pru_danzig_victory_happend
477
478
  }
@@ -2141,11 +2142,13 @@ country_event = {
2141
2142
  }
2142
2143
  add_accepted_culture_or_dip_power = {
2143
2144
  culture = russian_new
2145
+ dip_reward = yes
2144
2146
  }
2145
2147
  }
2146
2148
  else = {
2147
2149
  add_accepted_culture_or_dip_power = {
2148
2150
  culture = russian
2151
+ dip_reward = yes
2149
2152
  }
2150
2153
  }
2151
2154
  add_dip_power = 100
events/flavorTUS.txt CHANGED
@@ -906,6 +906,10 @@ country_event = {
906
906
 
907
907
  is_triggered_only = yes
908
908
  fire_only_once = yes
909
+
910
+ immediate = {
911
+ on_non_estate_disaster_end = yes
912
+ }
909
913
 
910
914
  option = {
911
915
  name = flavor_tus.17.a
events/flavorTurkoman.txt ADDED
@@ -0,0 +1,559 @@
1
+ ########################################
2
+ # Made by Parmelion
3
+ ########################################
4
+
5
+ namespace = flavor_turkoman
6
+
7
+ #Legacy of Seljuk
8
+ country_event = {
9
+ id = flavor_turkoman.1
10
+ title = flavor_turkoman.1.t
11
+ desc = flavor_turkoman.1.d
12
+ picture = DEVLET_I_RUM_eventPicture
13
+
14
+ is_triggered_only = yes
15
+
16
+ fire_only_once = yes
17
+
18
+ option = {
19
+ name = flavor_turkoman.1.a
20
+ custom_tooltip = turkoman_persia_khorasan_provinces_tt
21
+ tooltip = {
22
+ add_province_modifier = {
23
+ name = "turkoman_restore_irans_glory"
24
+ duration = 7300
25
+ }
26
+ }
27
+ hidden_effect = {
28
+ every_owned_province = {
29
+ limit = {
30
+ OR = {
31
+ region = persia_region
32
+ region = khorasan_region
33
+ }
34
+ }
35
+ add_province_modifier = {
36
+ name = "turkoman_restore_irans_glory"
37
+ duration = 7300
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ option = {
44
+ name = flavor_turkoman.1.b
45
+ custom_tooltip = turkoman_persia_khorasan_provinces_tt
46
+ tooltip = {
47
+ add_province_modifier = {
48
+ name = "turkoman_heal_internal_divisions"
49
+ duration = 7300
50
+ }
51
+ }
52
+ hidden_effect = {
53
+ every_owned_province = {
54
+ limit = {
55
+ OR = {
56
+ region = persia_region
57
+ region = khorasan_region
58
+ }
59
+ }
60
+ add_province_modifier = {
61
+ name = "turkoman_heal_internal_divisions"
62
+ duration = 7300
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ #Remove Flag
70
+ country_event = {
71
+ id = flavor_turkoman.2
72
+ title = none
73
+ desc = none
74
+ picture = none
75
+ hidden = yes
76
+ fire_only_once = yes
77
+ is_triggered_only = yes
78
+
79
+ immediate = {
80
+ clr_country_flag = turkoman_tribes_access_tt
81
+ }
82
+
83
+ option = { }
84
+ }
85
+
86
+ #The Maragheh Observatory
87
+ country_event = {
88
+ id = flavor_turkoman.3
89
+ title = flavor_turkoman.3.t
90
+ desc = flavor_turkoman.3.d
91
+ picture = ASTRONOMER_eventPicture
92
+
93
+ is_triggered_only = yes
94
+
95
+ fire_only_once = yes
96
+
97
+ option = {
98
+ name = flavor_turkoman.3.a
99
+ if = {
100
+ limit = {
101
+ 2207 = {
102
+ NOT = {
103
+ has_building = university
104
+ }
105
+ }
106
+ }
107
+ 2207 = {
108
+ add_building = university
109
+ }
110
+ }
111
+ 2207 = {
112
+ add_province_modifier = {
113
+ name = "turkoman_maragheh"
114
+ duration = -1
115
+ }
116
+ }
117
+ custom_tooltip = turkoman_cant_get_comet
118
+ set_country_flag = no_more_comet_sighted_event
119
+ }
120
+ }
121
+
122
+ #Abu Bakr Tihrani
123
+ country_event = {
124
+ id = flavor_turkoman.4
125
+ title = flavor_turkoman.4.t
126
+ desc = flavor_turkoman.4.d
127
+ picture = muslimgfx_BIG_BOOK_eventPicture
128
+
129
+ is_triggered_only = yes
130
+
131
+ fire_only_once = yes
132
+
133
+ option = {
134
+ name = flavor_turkoman.4.a
135
+ define_advisor = {
136
+ type = philosopher
137
+ name = "Abu Bakr Tihrani"
138
+ skill = 3
139
+ culture = persian
140
+ religion = ROOT
141
+ cost_multiplier = 0.25
142
+ }
143
+ }
144
+
145
+ option = {
146
+ name = flavor_turkoman.4.b
147
+ define_advisor = {
148
+ type = artist
149
+ name = "Abu Bakr Tihrani"
150
+ skill = 3
151
+ culture = persian
152
+ religion = ROOT
153
+ cost_multiplier = 0.25
154
+ }
155
+ }
156
+
157
+ option = {
158
+ name = flavor_turkoman.4.c
159
+ define_advisor = {
160
+ type = diplomat
161
+ name = "Abu Bakr Tihrani"
162
+ skill = 3
163
+ culture = persian
164
+ religion = ROOT
165
+ cost_multiplier = 0.25
166
+ }
167
+ }
168
+ }
169
+
170
+ #Persianization of the Turkomans
171
+ country_event = {
172
+ id = flavor_turkoman.5
173
+ title = flavor_turkoman.5.t
174
+ desc = flavor_turkoman.5.d
175
+ picture = muslimgfx_GOOD_WITH_MONARCH_eventPicture
176
+
177
+ is_triggered_only = yes
178
+
179
+ fire_only_once = yes
180
+
181
+ option = {
182
+ name = flavor_turkoman.5.a
183
+ custom_tooltip = turkoman_unlock_persia_decision
184
+ set_government_rank = 3
185
+ custom_tooltip = turkoman_shahanshah_title
186
+ custom_tooltip = turkoman_turcoiranian_culture
187
+ set_country_flag = turkoman_can_form_persia
188
+ set_country_flag = turkoman_adopt_shahanshah_title
189
+ add_country_modifier = {
190
+ name = turkoman_shahanshahs
191
+ duration = 7300
192
+ }
193
+ hidden_effect = {
194
+ change_primary_culture = turco_iranian
195
+ set_ruler_culture = turco_iranian
196
+ set_heir_culture = turco_iranian
197
+ set_consort_culture = turco_iranian
198
+ every_owned_province = {
199
+ limit = {
200
+ OR = {
201
+ culture = turkish
202
+ culture = azerbaijani
203
+ culture = turkmeni
204
+ }
205
+ }
206
+ change_culture = turco_iranian
207
+ }
208
+ }
209
+ }
210
+
211
+ }
212
+
213
+ #The Death of Ispend Mirza
214
+ country_event = {
215
+ id = flavor_turkoman.6
216
+ title = flavor_turkoman.6.t
217
+ desc = flavor_turkoman.6.d
218
+ picture = muslimgfx_KING_SICK_IN_BED_eventPicture
219
+
220
+ mean_time_to_happen = {
221
+ months = 24
222
+ }
223
+
224
+ trigger = {
225
+ has_dlc = "King of Kings"
226
+ is_or_was_tag = { tag = QAR }
227
+ is_year = 1445
228
+ NOT = {
229
+ mission_completed = qara_qoyunlu_emirs_mesopotamia
230
+ }
231
+ has_estate_privilege = estate_nobles_emirs_of_baghdad
232
+ 410 = {
233
+ country_or_non_sovereign_subject_holds = ROOT
234
+ }
235
+ }
236
+
237
+ fire_only_once = yes
238
+
239
+ option = {
240
+ name = flavor_turkoman.6.a
241
+ custom_tooltip = turkmen_emirs_of_baghdad_remove_tt
242
+ if = {
243
+ limit = {
244
+ has_estate = estate_nobles
245
+ }
246
+ add_estate_loyalty = {
247
+ estate = estate_nobles
248
+ loyalty = -20
249
+ }
250
+ }
251
+ 410 = {
252
+ spawn_rebels = {
253
+ type = pretender_rebels
254
+ size = 3
255
+ leader = "Fulad Mirza Qara Qoyunlu"
256
+ }
257
+ }
258
+ set_country_flag = turkoman_abolished_privilege_flag
259
+ hidden_effect = {
260
+ remove_estate_privilege = estate_nobles_emirs_of_baghdad
261
+ every_owned_province = {
262
+ limit = {
263
+ OR = {
264
+ area = iraq_arabi_area
265
+ area = basra_area
266
+ area = al_jazira_area
267
+ }
268
+ }
269
+ add_local_autonomy = -100
270
+ }
271
+ }
272
+ }
273
+
274
+ option = {
275
+ name = flavor_turkoman.6.b
276
+ custom_tooltip = turkmen_remove_privilege_by_mission_tt
277
+ }
278
+
279
+ }
280
+
281
+ #Fate of Trebizond - Qara Qoyunlu
282
+ country_event = {
283
+ id = flavor_turkoman.7
284
+ title = flavor_turkoman.7.t
285
+ desc = flavor_turkoman.7.d
286
+ picture = BYZ_BYZANTINE_EAGLE_eventPicture
287
+
288
+ trigger = {
289
+ OR = {
290
+ tag = QAR
291
+ was_tag = QAR
292
+ }
293
+ owns_core_province = 330
294
+ 330 = {
295
+ culture = pontic_greek
296
+ }
297
+ 330 = {
298
+ religion = orthodox
299
+ }
300
+ }
301
+
302
+ fire_only_once = yes
303
+
304
+ option = {
305
+ name = flavor_turkoman.7.a
306
+ add_dip_power = -50
307
+ add_accepted_culture_or_dip_power = { culture = pontic_greek dip_reward = yes }
308
+ 330 = {
309
+ add_local_autonomy = -50
310
+ }
311
+ 330 = {
312
+ add_province_modifier = {
313
+ name = turkoman_guaranteed_the_rights
314
+ duration = 3650
315
+ }
316
+ }
317
+ }
318
+
319
+ option = {
320
+ name = flavor_turkoman.7.b
321
+ add_adm_power = -50
322
+ 330 = {
323
+ spawn_rebels = {
324
+ type = nationalist_rebels
325
+ size = 2
326
+ }
327
+ }
328
+ 330 = {
329
+ change_culture = ROOT
330
+ }
331
+ 330 = {
332
+ change_religion = ROOT
333
+ }
334
+ }
335
+
336
+ }
337
+
338
+ #Fate of Trebizond - Aq Qoyunlu
339
+ country_event = {
340
+ id = flavor_turkoman.8
341
+ title = flavor_turkoman.8.t
342
+ desc = flavor_turkoman.8.d
343
+ picture = BYZ_BYZANTINE_EAGLE_eventPicture
344
+
345
+ is_triggered_only = yes
346
+
347
+ fire_only_once = yes
348
+
349
+ option = {
350
+ name = flavor_turkoman.8.a
351
+ add_dip_power = -50
352
+ add_accepted_culture_or_dip_power = { culture = pontic_greek dip_reward = yes }
353
+ 330 = {
354
+ add_local_autonomy = -50
355
+ }
356
+ 330 = {
357
+ add_province_modifier = {
358
+ name = turkoman_guaranteed_the_rights
359
+ duration = 3650
360
+ }
361
+ }
362
+ }
363
+
364
+ option = {
365
+ name = flavor_turkoman.8.b
366
+ add_adm_power = -50
367
+ 330 = {
368
+ spawn_rebels = {
369
+ type = nationalist_rebels
370
+ size = 2
371
+ }
372
+ }
373
+ 330 = {
374
+ change_culture = ROOT
375
+ }
376
+ 330 = {
377
+ change_religion = ROOT
378
+ }
379
+ }
380
+
381
+ }
382
+
383
+ #The Safavid Order
384
+ country_event = {
385
+ id = flavor_turkoman.9
386
+ title = flavor_turkoman.9.t
387
+ desc = flavor_turkoman.9.d
388
+ picture = muslimgfx_LAND_MILITARY_eventPicture
389
+
390
+ mean_time_to_happen = {
391
+ months = 50
392
+ }
393
+
394
+ trigger = {
395
+ OR = {
396
+ tag = AKK
397
+ tag = QAR
398
+ was_tag = AKK
399
+ was_tag = QAR
400
+ }
401
+ religion_group = muslim
402
+ owns = 424
403
+ has_dlc = "Cradle of Civilization"
404
+ OR = {
405
+ has_reform = tribal_federation
406
+ has_reform = turkoman_ottoman_institutions
407
+ }
408
+ }
409
+
410
+ fire_only_once = yes
411
+
412
+ option = {
413
+ name = flavor_turkoman.9.a
414
+ add_mil_power = -100
415
+ set_country_flag = turkoman_safavids_conscripted
416
+ custom_tooltip = turkoman_upgrade_tribal_interaction_safavids
417
+ if = {
418
+ limit = {
419
+ OR = {
420
+ religion = sunni
421
+ religion = ibadi
422
+ }
423
+ }
424
+ add_country_modifier = {
425
+ name = turkoman_enlisted_the_safavids_sunni
426
+ duration = 3650
427
+ }
428
+ }
429
+ else_if = {
430
+ limit = {
431
+ religion = shiite
432
+ }
433
+ add_country_modifier = {
434
+ name = turkoman_enlisted_the_safavids_shia
435
+ duration = 3650
436
+ }
437
+ }
438
+ }
439
+
440
+ option = {
441
+ name = flavor_turkoman.9.b
442
+ add_mil_power = 50
443
+ }
444
+
445
+ }
446
+
447
+ #The Mausoleum of the Turkmen Emirs
448
+ country_event = {
449
+ id = flavor_turkoman.10
450
+ title = flavor_turkoman.10.t
451
+ desc = flavor_turkoman.10.d
452
+ picture = muslimgfx_GREAT_BUILDING_eventPicture
453
+
454
+ mean_time_to_happen = {
455
+ months = 120
456
+ }
457
+
458
+ trigger = {
459
+ OR = {
460
+ tag = AKK
461
+ tag = QAR
462
+ was_tag = AKK
463
+ was_tag = QAR
464
+ }
465
+ religion_group = muslim
466
+ owns = 419
467
+ }
468
+
469
+ fire_only_once = yes
470
+
471
+ option = {
472
+ name = flavor_turkoman.10.a
473
+ add_adm_power = -100
474
+ add_country_modifier = {
475
+ name = turkoman_mausoleum
476
+ duration = -1
477
+ }
478
+ }
479
+
480
+ option = {
481
+ name = flavor_turkoman.10.b
482
+ add_adm_power = 50
483
+ }
484
+
485
+ }
486
+
487
+
488
+ #The Conquest of Tabriz
489
+ country_event = {
490
+ id = flavor_turkoman.11
491
+ title = flavor_turkoman.11.t
492
+ desc = flavor_turkoman.11.d
493
+ picture = muslimgfx_CITY_VIEW_eventPicture
494
+
495
+ mean_time_to_happen = {
496
+ months = 12
497
+ }
498
+
499
+ trigger = {
500
+ OR = {
501
+ tag = AKK
502
+ was_tag = AKK
503
+ }
504
+ owns_core_province = 416
505
+ is_at_war = no
506
+ NOT = {
507
+ capital = 416
508
+ }
509
+ }
510
+
511
+ fire_only_once = yes
512
+
513
+ option = {
514
+ name = flavor_turkoman.11.a
515
+ add_adm_power = -100
516
+ set_capital = 416
517
+ 416 = {
518
+ change_religion = ROOT
519
+ }
520
+ 416 = {
521
+ add_base_tax = 1
522
+ add_base_production = 1
523
+ add_base_manpower = 1
524
+ }
525
+ 416 = {
526
+ add_province_modifier = {
527
+ name = turkoman_new_capital
528
+ duration = 3650
529
+ }
530
+ }
531
+ }
532
+
533
+ option = {
534
+ name = flavor_turkoman.11.b
535
+ add_adm_power = 50
536
+ }
537
+
538
+ }
539
+
540
+ # Emirs of Mesopotamia
541
+ country_event = {
542
+ id = flavor_turkoman.12
543
+ title = flavor_turkoman.12.t
544
+ desc = flavor_turkoman.12.d
545
+ picture = muslimgfx_CITY_VIEW_eventPicture
546
+
547
+ is_triggered_only = yes
548
+
549
+ fire_only_once = yes
550
+
551
+ trigger = {
552
+ has_dlc = "King of Kings"
553
+ }
554
+
555
+ option = {
556
+ name = flavor_turkoman.12.a
557
+ custom_tooltip = qara_qoyunlu_starting_event_tt
558
+ }
559
+ }
events/flavorYEM.txt ADDED
@@ -0,0 +1,221 @@
1
+ namespace = flavor_YEM
2
+
3
+ country_event = {
4
+ id = flavor_YEM.1
5
+ title = flavor_YEM.1.t
6
+ desc = flavor_YEM.1.d
7
+ picture = TRADE_eventPicture
8
+
9
+ is_triggered_only = yes
10
+
11
+ option = {
12
+ name = flavor_YEM.1.a
13
+
14
+ ai_chance = {
15
+ factor = 1
16
+ }
17
+
18
+ goto = 4346
19
+
20
+ add_power_projection_mission = { amount = 30 }
21
+
22
+ custom_tooltip = " "
23
+
24
+ 4346 = {
25
+ add_trade_modifier = {
26
+ who = ROOT
27
+ duration = -1
28
+ power = 100
29
+ key = YEM_competition_less
30
+ }
31
+ }
32
+
33
+ custom_tooltip = " "
34
+
35
+ create_admiral = { tradition = 60 }
36
+ }
37
+ }
38
+
39
+ country_event = {
40
+ id = flavor_YEM.2
41
+ title = flavor_YEM.2.t
42
+ desc = flavor_YEM.2.d
43
+ picture = BATTLE_eventPicture
44
+
45
+ is_triggered_only = yes
46
+
47
+ option = {
48
+ name = flavor_YEM.2.a
49
+
50
+ ai_chance = {
51
+ factor = 0
52
+ }
53
+
54
+ add_years_of_owned_provinces_production_income = {
55
+ years = 20
56
+ trigger = {
57
+ trade_goods = incense
58
+ }
59
+ custom_tooltip = YEM_prod_from_incense
60
+ }
61
+ }
62
+
63
+ option = {
64
+ name = flavor_YEM.2.b
65
+
66
+ ai_chance = {
67
+ factor = 1
68
+ }
69
+
70
+ add_accepted_culture_or_dip_power = { culture = somali dip_reward = yes }
71
+ }
72
+ }
73
+
74
+ country_event = {
75
+ id = flavor_YEM.3
76
+ title = flavor_YEM.3.t
77
+ desc = flavor_YEM.3.d
78
+ picture = TRADE_GOODS_PLANTATION_GOODS_IN_WAREHOUSE_eventPicture
79
+
80
+ is_triggered_only = yes
81
+
82
+ option = {
83
+ name = flavor_YEM.3.a
84
+
85
+ ai_chance = {
86
+ factor = 1
87
+ }
88
+
89
+ change_price = {
90
+ trade_goods = coffee
91
+ key = YEM_coffee_price_boost
92
+ value = 0.25
93
+ duration = -1
94
+ }
95
+ }
96
+ }
97
+
98
+ # Extension of Coffee Monopoly
99
+ country_event = {
100
+ id = flavor_YEM.4
101
+ title = flavor_YEM.4.t
102
+ desc = flavor_YEM.4.d
103
+ picture = TRADE_GOODS_PLANTATION_GOODS_IN_WAREHOUSE_eventPicture
104
+
105
+ is_triggered_only = yes
106
+
107
+ immediate = {
108
+ remove_estate_monopoly_modifier = { privilege = estate_burghers_YEM_coffee_monopoly }
109
+ }
110
+
111
+ option = {
112
+ name = monopoly_privileges.1.a
113
+ reapply_estate_privilege = { privilege = estate_burghers_YEM_coffee_monopoly }
114
+ }
115
+ option = {
116
+ name = monopoly_privileges.1.b
117
+ custom_tooltip = YEM_revoke_yemen_event_tooltip
118
+
119
+ hidden_effect = {
120
+ every_owned_province = {
121
+ limit = {
122
+ trade_goods = coffee
123
+ }
124
+ apply_estate_monopoly_modifier = { privilege = estate_burghers_YEM_coffee_monopoly }
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ country_event = {
131
+ id = flavor_YEM.5
132
+ title = flavor_YEM.5.t
133
+ desc = flavor_YEM.5.d
134
+ picture = CONQUEST_eventPicture
135
+
136
+ is_triggered_only = yes
137
+
138
+ option = {
139
+ name = flavor_YEM.5.a
140
+
141
+ ai_chance = {
142
+ factor = 0
143
+ }
144
+
145
+ custom_tooltip = YEM_sanction_holy_war_claims_areas
146
+ set_country_flag = YEM_sanction_holy_war_claims_areas_flag
147
+ }
148
+
149
+ option = {
150
+ name = flavor_YEM.5.b
151
+
152
+ ai_chance = {
153
+ factor = 1 #probably better for AI
154
+ }
155
+
156
+ custom_tooltip = YEM_sanction_holy_war_claims_permanent
157
+ set_country_flag = YEM_sanction_holy_war_claims_permanent_flag
158
+ }
159
+ }
160
+
161
+ country_event = {
162
+ id = flavor_YEM.6
163
+ title = flavor_YEM.6.t
164
+ desc = flavor_YEM.6.d
165
+ picture = RELIGION_eventPicture
166
+
167
+ is_triggered_only = yes
168
+
169
+ option = {
170
+ name = flavor_YEM.6.a
171
+
172
+ ai_chance = {
173
+ factor = 1
174
+ }
175
+
176
+ custom_tooltip = YEM_invite_minorities_distribute_5_dev
177
+ set_country_flag = YEM_invite_minorities_distribute_5_dev_flag
178
+ }
179
+
180
+ option = {
181
+ name = flavor_YEM.6.b
182
+
183
+ ai_chance = {
184
+ factor = 0
185
+ }
186
+
187
+ custom_tooltip = YEM_invite_minorities_theologian
188
+ set_country_flag = YEM_invite_minorities_theologian_flag
189
+ }
190
+ }
191
+
192
+ country_event = {
193
+ id = flavor_YEM.7
194
+ title = flavor_YEM.7.t
195
+ desc = flavor_YEM.7.d
196
+ picture = MOSQUE_eventPicture
197
+
198
+ is_triggered_only = yes
199
+
200
+ option = {
201
+ name = flavor_YEM.7.a
202
+
203
+ ai_chance = {
204
+ factor = 1
205
+ }
206
+
207
+ custom_tooltip = YEM_seize_clerical_holdings_every_temple_provinces
208
+ set_country_flag = YEM_seize_clerical_holdings_every_temple_provinces_flag
209
+ }
210
+
211
+ option = {
212
+ name = flavor_YEM.7.b
213
+
214
+ ai_chance = {
215
+ factor = 1
216
+ }
217
+
218
+ custom_tooltip = YEM_seize_clerical_holdings_clergy_crownland
219
+ set_country_flag = YEM_seize_clerical_holdings_clergy_crownland_flag
220
+ }
221
+ }
events/flavorZAN.txt CHANGED
@@ -422,7 +422,7 @@ country_event = {
422
422
  # More events for Kilwa
423
423
  #
424
424
  # scripted by Ogulcan Yildirim
425
- # Localization written by Álvaro Sanz
425
+ # Localization written by �lvaro Sanz
426
426
  ########################################
427
427
 
428
428
  #Embassy Events
events/ideagroups.txt CHANGED
@@ -8694,7 +8694,7 @@ country_event = {
8694
8694
  }
8695
8695
  }
8696
8696
 
8697
- # Täuferreich von Münster / extra event
8697
+ # T�uferreich von M�nster / extra event
8698
8698
  country_event = {
8699
8699
  id = ideagroups.1921
8700
8700
  title = ideagroups.1921.t
@@ -8704,7 +8704,7 @@ country_event = {
8704
8704
 
8705
8705
  trigger = {
8706
8706
  has_idea_group = theocracy_gov_ideas
8707
- owns = 86 #Münster
8707
+ owns = 86 #M�nster
8708
8708
  is_year = 1533
8709
8709
  NOT = { is_year = 1536 }
8710
8710
  NOT = { has_country_modifier = "le_prophete" }
events/institutions.txt CHANGED
@@ -3173,7 +3173,7 @@ country_event = {
3173
3173
  }
3174
3174
  }
3175
3175
 
3176
- #Healthy Criticism? - Coffee Houses / Karagöz Etc
3176
+ #Healthy Criticism? - Coffee Houses / Karag�z Etc
3177
3177
  province_event = {
3178
3178
  id = institution_events.73
3179
3179
  title = institution_events.73.t #Healthy Criticism?